diff options
| author | Charles Lombardo <clombardo169@gmail.com> | 2022-12-04 12:34:36 -0500 |
|---|---|---|
| committer | Charles Lombardo <clombardo169@gmail.com> | 2022-12-04 12:34:36 -0500 |
| commit | c60982b2487eea9bc890393489cca1e1ec34500f (patch) | |
| tree | bbf1a488e9427ba5060e56816b25acaf73ab74ac /Source/Android/app/src/main/java | |
| parent | af5596720f85a0a260ba73c93996baa6e0a7420d (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.java | 2 |
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 = |
