Reputation: 1861
I create the following button in a Xamarin Portable Class Library app
Content = new Button { Text = "Up", HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.Center, MinimumWidthRequest = 0, MinimumHeightRequest = 0 };
This give me a button that looks like this
I want one that looks more like this
This is quite easy to do in native Android layouts (RelativeLayout and LinearLayout etc).
I have tried a million things but I can't get it to happen in Xamarin, does anyone know how to do it?
Upvotes: 4
Views: 3236