'how we can display pound and euro symbol in android TextView?

How do I display pound(£) and euro(€) symbol in TextView?

need help!



Solution 1:[1]

You can copy and paste them. € £

Here is a list of more unicode characters

Solution 2:[2]

String euro = "\u20ac";

String pound = "\u00a3";

tvAmount.setText(euro);

tvCurrency.setText(pound);

And also you can check list of other symbol here

Solution 3:[3]

More appropriate way will be to do it using Currency.

String euro = Currency.getInstance(Locale.GERMANY).getCurrencyCode();
String pound = Currency.getInstance(Locale.UK).getCurrencyCode();

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Siddharth Mehra
Solution 2 Scorpio
Solution 3 Wahib Ul Haq