Android: Ensure menu is always wide enough

25% of the screen isn't necessarily wide enough on phones,
especially not in portrait mode.
This commit is contained in:
JosJuice 2020-07-28 19:34:27 +02:00
parent 48de1333df
commit 772a98e853
1 changed files with 3 additions and 5 deletions

View File

@ -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>