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="&#186;c" fontsize="small" />         </formattedstring>     </label.formattedtext> </label> 

ios-screenshot . android-screenshot


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -