android: Fix RTL layouts

This commit is contained in:
Charles Lombardo 2023-03-22 05:27:14 -04:00 committed by bunnei
parent 3c9aa8d230
commit d9e7e71a8e
3 changed files with 6 additions and 1 deletions

View file

@ -55,6 +55,7 @@
android:ellipsize="end" android:ellipsize="end"
android:maxLines="2" android:maxLines="2"
android:paddingTop="8dp" android:paddingTop="8dp"
android:textAlignment="viewStart"
app:layout_constraintEnd_toEndOf="@+id/card_game_art" app:layout_constraintEnd_toEndOf="@+id/card_game_art"
app:layout_constraintStart_toStartOf="@+id/card_game_art" app:layout_constraintStart_toStartOf="@+id/card_game_art"
app:layout_constraintTop_toBottomOf="@+id/card_game_art" app:layout_constraintTop_toBottomOf="@+id/card_game_art"
@ -69,6 +70,7 @@
android:lines="1" android:lines="1"
android:maxLines="1" android:maxLines="1"
android:paddingTop="8dp" android:paddingTop="8dp"
android:textAlignment="viewStart"
app:layout_constraintEnd_toEndOf="@+id/card_game_art" app:layout_constraintEnd_toEndOf="@+id/card_game_art"
app:layout_constraintStart_toStartOf="@+id/card_game_art" app:layout_constraintStart_toStartOf="@+id/card_game_art"
app:layout_constraintTop_toBottomOf="@+id/text_game_title" app:layout_constraintTop_toBottomOf="@+id/text_game_title"

View file

@ -22,6 +22,7 @@
android:layout_marginEnd="@dimen/spacing_large" android:layout_marginEnd="@dimen/spacing_large"
android:layout_marginStart="@dimen/spacing_large" android:layout_marginStart="@dimen/spacing_large"
android:textSize="16sp" android:textSize="16sp"
android:textAlignment="viewStart"
tools:text="Setting Name" /> tools:text="Setting Name" />
<TextView <TextView
@ -36,6 +37,7 @@
android:layout_marginStart="@dimen/spacing_large" android:layout_marginStart="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_small" android:layout_marginTop="@dimen/spacing_small"
android:visibility="visible" android:visibility="visible"
android:textAlignment="viewStart"
tools:text="@string/app_disclaimer" /> tools:text="@string/app_disclaimer" />
</RelativeLayout> </RelativeLayout>

View file

@ -28,7 +28,7 @@
android:layout_marginStart="@dimen/spacing_large" android:layout_marginStart="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_small" android:layout_marginTop="@dimen/spacing_small"
android:layout_toStartOf="@+id/switch_widget" android:layout_toStartOf="@+id/switch_widget"
android:textAlignment="textStart" android:textAlignment="viewStart"
tools:text="@string/frame_limit_enable_description" /> tools:text="@string/frame_limit_enable_description" />
<TextView <TextView
@ -43,6 +43,7 @@
android:layout_marginTop="@dimen/spacing_large" android:layout_marginTop="@dimen/spacing_large"
android:layout_toStartOf="@+id/switch_widget" android:layout_toStartOf="@+id/switch_widget"
android:textSize="16sp" android:textSize="16sp"
android:textAlignment="viewStart"
tools:text="@string/frame_limit_enable" /> tools:text="@string/frame_limit_enable" />
</RelativeLayout> </RelativeLayout>