I have read How can I create a multilingual android application? and Do android support multiple languages? and I know about creating an android application with multiple languages. But my problem is about showing right-to-left and left-to-right texts for different languages.
For example in English a TextView
as label should be on the left side of EditText
and in Persian, TextView
should be on the right side of EditText
.
How can I support right to left languages and UIs in my user interface?
Should I design different layouts for right to left languages? How can I specify a folder in layouts for RTL? something like layout-rtl
? Or how can I determine the language is right to left?
Is there any easier way?