ios - Xamarin form displaying temperature value -
i want display 36.53°c value inside xamarin form.
how can display using grid , label? 36.65 have large font size , unit °c have small font size. again °c displayed @ bottom corner of number.
how can achieve this?
you can use formattedtext
in label
:
<label> <label.formattedtext> <formattedstring> <span text="36.65" fontsize="large" /> <span text="ºc" fontsize="small" /> </formattedstring> </label.formattedtext> </label>
Comments
Post a Comment