summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-08-16 08:09:13 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:40 (GMT)
commit9273ad8d9aeb5f1f739815e3f13f0d68566d51aa (patch)
tree39321efafce7afb5a35972cb4aca59985614d849
parentcafdf802e93da06c1c0af21e1c031c505c240444 (diff)
downloadxamarin-forms-9273ad8d9aeb5f1f739815e3f13f0d68566d51aa.zip
xamarin-forms-9273ad8d9aeb5f1f739815e3f13f0d68566d51aa.tar.gz
xamarin-forms-9273ad8d9aeb5f1f739815e3f13f0d68566d51aa.tar.bz2
Revert "Fix border on android buttons (#941)"
This reverts commit 9bbf690366a046fa9b55c8519f909a5e79803d50.
-rw-r--r--Xamarin.Forms.Platform.Android/AppCompat/ButtonRenderer.cs1
-rw-r--r--Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs1
2 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/ButtonRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/ButtonRenderer.cs
index be520e6..394f332 100644
--- a/Xamarin.Forms.Platform.Android/AppCompat/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/AppCompat/ButtonRenderer.cs
@@ -27,7 +27,6 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
public ButtonRenderer()
{
- System.Diagnostics.Debug.WriteLine("Slow Button!");
AutoPackage = false;
}
diff --git a/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs
index 9a1b3ff..898c85d 100644
--- a/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/FastRenderers/ButtonRenderer.cs
@@ -212,6 +212,7 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers
if (e.NewElement != null)
{
this.EnsureId();
+
UpdateFont();
UpdateText();
UpdateBitmap();