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:
parent
48de1333df
commit
772a98e853
|
@ -22,16 +22,14 @@
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/frame_menu"
|
android:id="@+id/frame_menu"
|
||||||
android:layout_width="0dp"
|
android:layout_width="260dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight=".25"
|
|
||||||
tools:layout="@layout/fragment_ingame_menu"/>
|
tools:layout="@layout/fragment_ingame_menu"/>
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/frame_submenu"
|
android:id="@+id/frame_submenu"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"/>
|
||||||
android:layout_weight=".75"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue