خرید بک لینک

Vote count: 0

So I have this label here:

var countAmount = new UILabel()
{
    Text = AppState.CurrentSelected.Count().ToString(),
    FontSize = 11,
    HorizontalOptions = LayoutOptions.End,
    FontFamily = CoreTheme.FONT_FAMILY_DEFAULT_BOLD,
    TextColor = ColorHelper.FromHex(CoreTheme.COLOR_TOP_NAVBAR_BACKGROUND),
    BackgroundColor = ColorHelper.FromHex(CoreTheme.COLOR_IMAGEPREVIEW_BADGE),
    VerticalTextAlignment = TextAlignment.Center
};

It looks great however the coers are not rounded. I'm looking for a label property like a border radius and I think native android has that property.

How can I do it in Xamarin.Forms (for Android)? Make the label has corder coer/border radius. so it's a rectangle with rounded coers.

Thanks!

asked 58 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 23 فروردين 1395 ساعت: 2:24

صفحه بندی