问题
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
回答1:
Try with Bidi
回答2:
- Declare in your app manifest that your app supports RTL mirroring: add android:supportsRtl="true" to the element in your manifest file.
- Change all of your app's "left/right" layout properties to new "start/end" equivalents.
Native RTL support in Android 4.2
回答3:
It looks like this is only possible starting with jelly bean
回答4:
use this
android:textDirection="rtl"
android:gravity="right"
来源:https://stackoverflow.com/questions/7874125/how-to-write-text-right-to-left-arabic-textin-android