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?
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
Post a Comment