Skip to content

Commit

Permalink
Android: Add hints to allow cheats activity to be previewed
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 committed Jan 6, 2023
1 parent cc14d60 commit 4d86e44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Source/Android/app/src/main/res/layout/activity_cheats.xml
Expand Up @@ -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">

Expand Down Expand Up @@ -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>

Expand Down
Expand Up @@ -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">

Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 4d86e44

Please sign in to comment.