diff options
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android/Activity1.cs')
-rw-r--r-- | Xamarin.Forms.ControlGallery.Android/Activity1.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Activity1.cs b/Xamarin.Forms.ControlGallery.Android/Activity1.cs index 6f2b22dc..b0491b0f 100644 --- a/Xamarin.Forms.ControlGallery.Android/Activity1.cs +++ b/Xamarin.Forms.ControlGallery.Android/Activity1.cs @@ -39,6 +39,10 @@ namespace Xamarin.Forms.ControlGallery.Android protected override void OnAttached () { Control.SetBackgroundColor (global::Android.Graphics.Color.Aqua); + + var childLabel = (Element as ScrollView)?.Content as Label; + if (childLabel != null) + childLabel.Text = "Success"; } protected override void OnDetached () |