xamarin.forms - Circled Label Xamarin Forms -


what want achieve:

a seen in below screenshot there label hole number, want create circle around label,how go achieving this?

label requires circle

now assumption achieve need create custom renderer , override label class there i'm not sure how draw circle , achieve expected results.

any guidance , assistance appreciated.

on following link find code , video roundedboxview (half way down page).

http://forums.xamarin.com/discussion/17792/video-on-making-custom-renderers

if create within project can following create rounded box label:-

*) grid outer control.

*) create roundedboxview child of grid create circle - either specify fixed width/height on grid outer control know value specify roundedboxview's cornerradius property, or alternatively hook sizechanged event handler set values.

*) create label control child of grid control, , center position of it.

you can create hole text in label within horizontal stacklayout , add above in create effect desire.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -