diff options
| author | Charles Lombardo <clombardo169@gmail.com> | 2023-01-06 15:58:29 -0500 |
|---|---|---|
| committer | Charles Lombardo <clombardo169@gmail.com> | 2023-01-06 15:58:29 -0500 |
| commit | 4d86e44c12620bdecced54008d1df6f65a6dd901 (patch) | |
| tree | 566627f4a501eff7704fdcba6cc46204d9c79657 /Source/Android/app | |
| parent | cc14d60bbb9fd069e831bd3d84b8dc4fa1b3ddee (diff) | |
Android: Add hints to allow cheats activity to be previewed
Diffstat (limited to 'Source/Android/app')
| -rw-r--r-- | Source/Android/app/src/main/res/layout/activity_cheats.xml | 7 | ||||
| -rw-r--r-- | Source/Android/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 c2212d5602..030e8f3581 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 @@ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -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" /> <androidx.fragment.app.FragmentContainerView android:id="@+id/cheat_details" android:name="org.dolphinemu.dolphinemu.features.cheats.ui.CheatDetailsFragment" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + tools:layout="@layout/fragment_cheat_details" /> </androidx.slidingpanelayout.widget.SlidingPaneLayout> 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 93649f4def..0ce5742c97 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 @@ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -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" /> <androidx.fragment.app.FragmentContainerView android:id="@+id/gfx_mods_warning" @@ -25,7 +27,8 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/cheats_warning" - app:layout_constraintBottom_toTopOf="@id/cheat_list" /> + app:layout_constraintBottom_toTopOf="@id/cheat_list" + tools:layout="@layout/fragment_cheat_warning" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/cheat_list" |
