myXmlContent.setText("بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ");
I am writing the above code and trying to display the text in Arabic.
but every character is being displayed separately in Android emulator.
Please help.
Complex scripts are currently not fully support by the UI toolkit. We are working on improving this.
Have look the below link.
You need to use Arabic Reshaper utility
Below are the some links https://github.com/agawish/Better-Arabic-Reshaper
https://mdictionary.wordpress.com/2011/02/10/connected-arabic-characters-for-android-apps/
Don't Worry we faced this on our applications but it works like a charm on the real devices (Samsung htc) I do advice work and debug directly on real device this is faster and reflects your work In final look. you may look at: https://stackoverflow.com/a/3769283/771300