[AC-5865] Better support for right-to-left layouts
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | n/a |
| Status | Resolved |
| Resolution | Needs more info |
| Resolution Date | 2018-10-24T20:17:29.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Luc-Edmond Gaspard |
| Assignee | Shak Hossain |
| Created | 2018-08-29T16:37:24.000+0000 |
| Updated | 2018-10-24T20:17:29.000+0000 |
Description
As an app developper in a company operating in many different markets, I want to be able to internationalize the layout of my application.
If the direction is RTL, I want the views to be laid from right to left.
Some ideas:
* Add "start" and "end" properties to View, so the layout can be flipped automatically if the direction is rtl. When in ltr, start = left and when in rtl, start = right.
* Text alignment: add constants TEXT_ALIGNMENT_START TEXT_ALIGNMENT_END
Hello [~gaspard.le], Please share the native docs on this feature. Thanks.