Search code examples
androidlocalizationarabichebrewright-to-left

Android localization for RTL languages


I need to add localization features to my app for RTL languages (hebrew and arabic) How can I modify the layout in order for the picture to be aligned differently in the RTL option?

For example: in the main menu I got buttons on the left side and pic on the right (in the LTR version) I need to reverse it and not only change the pictures


Solution

  • find the localization label for RTL languages then save their custom layout xml files under the folder "res/layout-RtlLabel/customLayout.xml". For example "layout-fr"... look here for more info