I have a rtf file Rupee.ttf in the assets folder, which I use to display the rupee symbol since I can't with unicode.
The escape code for the rupee specified is \u20B9, which I put in the strings resources, which I in turn use for a TextView. The problem is that, although the symbol displays correctly, it changes the font of the entire TextView's text (see screenshot below).
The second TextView should have the same font as the first, and if I take out the rupee symbol in the brackets, it does. How can I fix this?
Here are the two strings, if relevant:
<string name="min_loan">Minimum loan amount required (Rs.)</string>
<string name="max_loan">Maximum loan amount required (\u20B9)</string>
0 comments:
Post a Comment