Android application name with superscript

android, superscript

Solution

You need to use ISO-8859-1 / UTF-8 characters to accomplish inserting (in your case) a superscript 3.

List of HTML ISO-8859-1 Reference entities.

For example in your `AndroidManifest.xml`

<application
    android:hardwareAccelerated="true"
    android:icon="@drawable/ic_launcher"
    android:label="Myapp³" <!--or reference it from @string -->

Or use the HTML entity `&#xb3;` (hex) `&#179;` (dec) somewhere in a String, like:

<string name="app_name">Myapp&#179;</string>

Small compilation of Unicode reference tables

Unicode 6.2 Character Code Charts

- C1 Controls and Latin-1 Supplement (ranges 0080-00FF where superscript resides)

- General Punctuation

- CJK Symbols and Punctuation

- CJK Compatibility Forms

- Small Form Variants

- Halfwidth and Fullwidth Forms

(from wikipedia)

Problem

How can I make the application name in superscript, I've tried this way: ``` <string name="app_name">SomeApp <sup><small><b>beta</b></small></sup></string> ``` it works on TextView's but it doesn't work on the application name. Something like this is what I'm trying to accomplish:

Original source