Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to create round buttons

$
0
0

Hello! I am creating buttons dynamically. I need to create N round buttons. Window backround is gradient. Amount of buttons can be changed.

Now I am doing it like this:

Button btn = new Button (this);
btn.SetBackgroundResource (Resource.Drawable.myButton);

Where myButton is square picture of my button. First problem : button has not round shape. Second prblem : because of gradient background it looks terribly.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>