As I asked on the following question:
Arabic number in Arabic text on Android
if i use arabic local arch or ar-sa, the numbers are displayed using hindu-arabic numbers. I need to show the numbers, as in English: "1234567890".
I used a trick to install an extension with a number
Locale.Builder builder = new Locale.Builder();
builder.setLocale(savedLocale).setExtension(Locale.UNICODE_LOCALE_EXTENSION, "nu-latn");
Locale locale = builder.build();
The problem is that after you do this, the resource search will break, and with Nougat it will no longer work.
Is there a way to see "normal" numbers, even using Arabic for ae and sa?
source
share