From 4d86e44c12620bdecced54008d1df6f65a6dd901 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Fri, 6 Jan 2023 15:58:29 -0500 Subject: [PATCH] Android: Add hints to allow cheats activity to be previewed --- Source/Android/app/src/main/res/layout/activity_cheats.xml | 7 +++++-- .../app/src/main/res/layout/fragment_cheat_list.xml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Source/Android/app/src/main/res/layout/activity_cheats.xml b/Source/Android/app/src/main/res/layout/activity_cheats.xml index c2212d560298..030e8f358163 100644 --- a/Source/Android/app/src/main/res/layout/activity_cheats.xml +++ b/Source/Android/app/src/main/res/layout/activity_cheats.xml @@ -2,6 +2,7 @@ @@ -45,13 +46,15 @@ android:id="@+id/cheat_list" android:name="org.dolphinemu.dolphinemu.features.cheats.ui.CheatListFragment" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + tools:layout="@layout/fragment_cheat_list" /> + android:layout_height="match_parent" + tools:layout="@layout/fragment_cheat_details" /> diff --git a/Source/Android/app/src/main/res/layout/fragment_cheat_list.xml b/Source/Android/app/src/main/res/layout/fragment_cheat_list.xml index 93649f4defc0..0ce5742c9709 100644 --- a/Source/Android/app/src/main/res/layout/fragment_cheat_list.xml +++ b/Source/Android/app/src/main/res/layout/fragment_cheat_list.xml @@ -2,6 +2,7 @@ @@ -14,7 +15,8 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toTopOf="@id/gfx_mods_warning" /> + app:layout_constraintBottom_toTopOf="@id/gfx_mods_warning" + tools:layout="@layout/fragment_cheat_warning" /> + app:layout_constraintBottom_toTopOf="@id/cheat_list" + tools:layout="@layout/fragment_cheat_warning" />