Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to write text right to left (Arabic Text)in Android ?

I used Arabic text so, I want to write text from right to left so how i can write right to left text in android ?

Regards, Girish

like image 412
Girish Patel Avatar asked Oct 24 '11 10:10

Girish Patel


2 Answers

Try with Bidi

like image 164
SERPRO Avatar answered Sep 29 '22 06:09

SERPRO


  1. Declare in your app manifest that your app supports RTL mirroring: add android:supportsRtl="true" to the element in your manifest file.
  2. Change all of your app's "left/right" layout properties to new "start/end" equivalents.

Native RTL support in Android 4.2

like image 33
Bouba Avatar answered Sep 29 '22 04:09

Bouba