Example #1
0
        protected override void OnElementChanged(ElementChangedEventArgs <Xamarin.Forms.View> e)
        {
            base.OnElementChanged(e);


            if (e.OldElement == null)
            {
                var uiv = new global::Android.Views.View(this.Context);
                uiv.SetBackgroundResource(Shared.Core.Resource.Drawable.border);

                this.SetNativeControl(uiv);


                if (((Square)Element).DisplayActivityIndicator)
                {
                }


                //this.NativeView.Layer.BorderColor = Color.Gray.ToCGColor();
                //this.NativeView.Layer.BorderWidth = 1;
            }
        }