summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-07-28 19:34:27 +0200
committerJosJuice <josjuice@gmail.com>2020-09-08 16:35:26 +0200
commit772a98e85343bb5d7e4ddbcdd9eef3991d1a31ba (patch)
tree29aa40ccddd819e96480cb7f79ae4ff2aad217cb /Source/Android
parent48de1333df628caa1774972ca45750d0ae87386f (diff)
Android: Ensure menu is always wide enough
25% of the screen isn't necessarily wide enough on phones, especially not in portrait mode.
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/src/main/res/layout/activity_emulation.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Android/app/src/main/res/layout/activity_emulation.xml b/Source/Android/app/src/main/res/layout/activity_emulation.xml
index 5e516d04ad..c3be452d67 100644
--- a/Source/Android/app/src/main/res/layout/activity_emulation.xml
+++ b/Source/Android/app/src/main/res/layout/activity_emulation.xml
@@ -22,16 +22,14 @@
<FrameLayout
android:id="@+id/frame_menu"
- android:layout_width="0dp"
+ android:layout_width="260dp"
android:layout_height="match_parent"
- android:layout_weight=".25"
tools:layout="@layout/fragment_ingame_menu"/>
<FrameLayout
android:id="@+id/frame_submenu"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight=".75"/>
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
</LinearLayout>