I'm customizing a Xamarin.forms.control. I want to put it inside a "box", we can call it rectangle.So all I want is the border.
this.Control.SetBackground(d);
here d has to be a Android.Graphics.Drawables.Drawable. How can I create such a drawable,just the borders of a box?
CodePudding user response:
If you can't use a frame, you can layer two
For more details, you could refer to the case link i done before. Loading indicator around stacklayout