Unicode for registered trademark not displaying properly in Android string? -


i want display symbol ® in string, have added unicode in string file. not have expected symbol should small , power application string. have tried same in poc in hello world string , there working fine, difficult investigate while line of code same both application.

this have written in strings:

<string name="helloworld">hello world <sup><small>&#174;</small></sup></string> 

hello world ® got result expected 1 in different.

p.s expected result give below :

enter image description here

make textview this:

<textview         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:text="@string/helloworld"         android:textstyle="bold"         android:textsize="25sp"/> 

and string below:

<string name="helloworld">hello world <sup><b>&#xae;</b></sup></string> 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -