Improve RTL support (#964)

By making these changes, texts in relevant pages will appear currectly
in RTL layout.
This commit is contained in:
Mostafa Ahangarha 2018-12-25 19:07:03 +00:00 committed by Konrad Pozniak
parent bac15c42bd
commit 6cd7a1ab8e
3 changed files with 3 additions and 0 deletions

View file

@ -16,6 +16,7 @@
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textDirection="anyRtl"
android:layout_gravity="center"> android:layout_gravity="center">
<LinearLayout <LinearLayout

View file

@ -5,6 +5,7 @@
android:id="@+id/accountCoordinatorLayout" android:id="@+id/accountCoordinatorLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:textDirection="anyRtl"
android:fillViewport="true"> android:fillViewport="true">
<com.google.android.material.appbar.AppBarLayout <com.google.android.material.appbar.AppBarLayout

View file

@ -19,6 +19,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:clipChildren="false" android:clipChildren="false"
android:orientation="vertical" android:orientation="vertical"
android:textDirection="anyRtl"
android:paddingBottom="12dp"> android:paddingBottom="12dp">
<TextView <TextView