From e79a4b0d8c9111d63602277e913e4e5b25e0fbec Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sun, 6 Nov 2022 17:30:07 -0500 Subject: [PATCH] Android: Fix list_item_cheat text Sometimes a gecko code would have a title long enough to appear over the checkbox. This is now prevented by marking the text's boundary a 16dp before the start of the checkbox. --- Source/Android/app/src/main/res/layout/list_item_cheat.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Android/app/src/main/res/layout/list_item_cheat.xml b/Source/Android/app/src/main/res/layout/list_item_cheat.xml index 4cea5908ad..d2397cf8b8 100644 --- a/Source/Android/app/src/main/res/layout/list_item_cheat.xml +++ b/Source/Android/app/src/main/res/layout/list_item_cheat.xml @@ -17,8 +17,10 @@ android:layout_height="64dp" android:layout_alignParentStart="true" android:layout_centerVertical="true" - android:gravity="center_vertical" android:layout_marginStart="@dimen/spacing_large" + android:layout_marginEnd="@dimen/spacing_large" + android:layout_toStartOf="@+id/checkbox" + android:gravity="center_vertical" android:textSize="16sp" tools:text="Hyrule Field Speed Hack" />