Replaces Left and Right gravity with the proper Start and End equivalents to support RTL languages.
Fixes #353: Aligning RTL text isn't working correctly.
Before the change, notes and checklists in the app were aligned to one side, either Left or Right (regardless of LTR or RTL of the language). This was inconsistent with the widgets, which were already using Start and End gravity (widget_text_layout.xml).
After the change to Start / End, both LTR and RTL languages can coexist in the same note / checklist.
The Alignment setting should not be needed anymore for RTL as it works out of the box. It still uses the Left & Right terms for simplicity and even swaps the labels for RTL languages. TBD if renaming them to something like "Default" and "Inverted" would make more sense.
Replaces
Left
andRight
gravity with the properStart
andEnd
equivalents to support RTL languages.Fixes #353: Aligning RTL text isn't working correctly.
Before the change, notes and checklists in the app were aligned to one side, either Left or Right (regardless of LTR or RTL of the language). This was inconsistent with the widgets, which were already using Start and End gravity (
widget_text_layout.xml
).After the change to Start / End, both LTR and RTL languages can coexist in the same note / checklist.
The Alignment setting should not be needed anymore for RTL as it works out of the box. It still uses the Left & Right terms for simplicity and even swaps the labels for RTL languages. TBD if renaming them to something like "Default" and "Inverted" would make more sense.