diff --git a/src/Android/Android.csproj b/src/Android/Android.csproj index 394e144db..d8af19e1a 100644 --- a/src/Android/Android.csproj +++ b/src/Android/Android.csproj @@ -291,6 +291,7 @@ + diff --git a/src/Android/Controls/CustomButtonRenderer.cs b/src/Android/Controls/CustomButtonRenderer.cs new file mode 100644 index 000000000..a0584d31f --- /dev/null +++ b/src/Android/Controls/CustomButtonRenderer.cs @@ -0,0 +1,26 @@ +using System; +using System.ComponentModel; +using Bit.Android.Controls; +using Xamarin.Forms; +using Xamarin.Forms.Platform.Android; + +[assembly: ExportRenderer(typeof(Button), typeof(CustomButtonRenderer))] +namespace Bit.Android.Controls +{ + public class CustomButtonRenderer : ButtonRenderer + { + protected override void OnElementChanged(ElementChangedEventArgs