Android – Write a number inside ayah end arabic unicode symbol

androidarabiciosunicode

I'm working on android application and I'm trying to write arabic number inside arabic end of ayah symbol (۝) into textview.
I've tried to write the end of ayah symbol then the arabic number without any space but it didn't work. I'm using uthmani font.

I want to display it like this picture:

This is part of the code

    NumberFormat nf = NumberFormat.getInstance(Locale.forLanguageTag("AR"));
    temp+="  "+"\u06DD"+String.valueOf(nf.format(count))+" ";

"\u06DD" is the encoding of (۝) in java.

The result became like this:

Best Answer

You can use font named me_quran with these unicodes U+FD3E + numbers + U+FD3F

﴿ ORNATE RIGHT PARENTHESIS Unicode: U+FD3F, UTF-8: EF B4 BF

﴾ ORNATE LEFT PARENTHESIS Unicode: U+FD3E, UTF-8: EF B4 BE

You can download the font file from here

Example of usage: Quran Verse end with numbers inside

Related Topic