When storing fractional numbers eg 1/2 in strings.xml:
<string-array name="array_fractionals">
<item>0</item>
<item>1/2</item>
<item>1/5</item>
<item>1/8</item>
</string-array>
It get a suggestion to use it like:
<item><![CDATA[⅓]]></item>
<item><![CDATA[¼]]></item>
And when I take suggestion retrive values:
String[] array_frac=getResources().getStringArray(R.array.array_fractionals);
numberPickerTwo.setDisplayedValues(array_frac);
It won't print "1/2" but will show the below: what is the mechanism required to decode that to fractional character?