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>®</small></sup></string>
hello world ® got result expected 1 in different.
p.s expected result give below :
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>®</b></sup></string>
Comments
Post a Comment