summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2022-12-04 12:34:36 -0500
committerCharles Lombardo <clombardo169@gmail.com>2022-12-04 12:34:36 -0500
commitc60982b2487eea9bc890393489cca1e1ec34500f (patch)
treebbf1a488e9427ba5060e56816b25acaf73ab74ac /Source/Android/app/src/main/java
parentaf5596720f85a0a260ba73c93996baa6e0a7420d (diff)
Android: Fix cheats layout
The sliding panel layout was in the way of the top app bar and prevented the up button from being pressed. This anchors the panel to the bottom of the top app bar and removed unnecessary hardcoded padding.
Diffstat (limited to 'Source/Android/app/src/main/java')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/InsetsHelper.java2
1 files changed, 1 insertions, 1 deletions
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 7b98528667..7f9149bb2b 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 =