diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java index 311e16b10a..e1949f710b 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java @@ -130,7 +130,7 @@ public class InsetsHelper insetAppBar(barInsets, appBarLayout); - slidingPaneLayout.setPadding(barInsets.left, barInsets.top, barInsets.right, 0); + slidingPaneLayout.setPadding(barInsets.left, 0, barInsets.right, 0); // Set keyboard insets if the system supports smooth keyboard animations ViewGroup.MarginLayoutParams mlpDetails = 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 151c8edf67..f39f2d55e5 100644 --- a/Source/Android/app/src/main/res/layout/activity_cheats.xml +++ b/Source/Android/app/src/main/res/layout/activity_cheats.xml @@ -1,44 +1,56 @@ - + android:layout_height="match_parent"> - + android:background="?attr/colorSurface" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + app:elevation="0dp" + app:liftOnScroll="false"> - + + + + + + android:layout_height="0dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/coordinator_main"> + android:layout_height="match_parent" /> + android:layout_height="match_parent" /> @@ -47,7 +59,10 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="bottom" + android:background="@android:color/transparent" android:clickable="true" - android:background="@android:color/transparent" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" /> - +