diff --git a/src/Core/src/Platform/Android/MauiMaterialButton.cs b/src/Core/src/Platform/Android/MauiMaterialButton.cs index cf2752e8f26f..a9f9cf9c6a86 100644 --- a/src/Core/src/Platform/Android/MauiMaterialButton.cs +++ b/src/Core/src/Platform/Android/MauiMaterialButton.cs @@ -1,6 +1,8 @@ using System; using Android.Content; using Android.Graphics.Drawables; +using Android.Runtime; +using Android.Util; using Android.Views; using AndroidX.Core.Widget; using Google.Android.Material.Button; @@ -25,6 +27,18 @@ public MauiMaterialButton(Context context) { } + protected MauiMaterialButton(nint javaReference, JniHandleOwnership transfer) : base(javaReference, transfer) + { + } + + public MauiMaterialButton(Context context, IAttributeSet? attrs) : base(context, attrs) + { + } + + public MauiMaterialButton(Context context, IAttributeSet? attrs, int defStyleAttr) : base(context, attrs, defStyleAttr) + { + } + public override int IconGravity { get => base.IconGravity; diff --git a/src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt b/src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt index 673b8236912c..30afe0ce3405 100644 --- a/src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt +++ b/src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt @@ -27,6 +27,9 @@ Microsoft.Maui.KeyboardAcceleratorModifiers.None = 0 -> Microsoft.Maui.KeyboardA Microsoft.Maui.KeyboardAcceleratorModifiers.Shift = 1 -> Microsoft.Maui.KeyboardAcceleratorModifiers Microsoft.Maui.KeyboardAcceleratorModifiers.Windows = 16 -> Microsoft.Maui.KeyboardAcceleratorModifiers Microsoft.Maui.Layouts.FlexBasis.Equals(Microsoft.Maui.Layouts.FlexBasis other) -> bool +Microsoft.Maui.Platform.MauiMaterialButton.MauiMaterialButton(Android.Content.Context! context, Android.Util.IAttributeSet? attrs) -> void +Microsoft.Maui.Platform.MauiMaterialButton.MauiMaterialButton(Android.Content.Context! context, Android.Util.IAttributeSet? attrs, int defStyleAttr) -> void +Microsoft.Maui.Platform.MauiMaterialButton.MauiMaterialButton(nint javaReference, Android.Runtime.JniHandleOwnership transfer) -> void Microsoft.Maui.PlatformAppCompatTextView Microsoft.Maui.PlatformAppCompatTextView.PlatformAppCompatTextView(nint javaReference, Android.Runtime.JniHandleOwnership transfer) -> void Microsoft.Maui.Platform.IImageSourcePartSetter