Developers working with global applications which need to support languages including Arabic, Farsi, Hebrew etc will have considerations and issues with them in mirroring layouts to support these languages.
Layout Mirroring is a term used to describe the ability of software to reorder the UI elements to match the right to left flow for that locale. In Android with API 17, automatic layout mirroring was introduced.
RTL For Right-To-Left (RTL) languages like Arabic, not only does the text alignment and text reading order go from right to left, but also the UI elements layout should follow this natural direction of going from right to left. Of course, this layout change would only apply to localized RTL languages. Mirroring is in fact nothing else than a coordinate transformation:
|
Saturday, October 31, 2015
Subscribe to:
Posts (Atom)