Android: Use narrow layout for savestate slot picker in portrait
This commit is contained in:
parent
772a98e853
commit
364b9702f4
|
@ -2,51 +2,51 @@
|
||||||
android:id="@+id/grid_state_slots"
|
android:id="@+id/grid_state_slots"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:columnCount="3"
|
android:columnCount="@integer/loadsave_state_columns"
|
||||||
android:rowCount="2"
|
android:rowCount="@integer/loadsave_state_rows"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:background="#af000000">
|
android:background="#af000000">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_1"
|
android:id="@+id/loadsave_state_button_1"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot1"
|
android:text="@string/emulation_slot1"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_2"
|
android:id="@+id/loadsave_state_button_2"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot2"
|
android:text="@string/emulation_slot2"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_3"
|
android:id="@+id/loadsave_state_button_3"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot3"
|
android:text="@string/emulation_slot3"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_4"
|
android:id="@+id/loadsave_state_button_4"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot4"
|
android:text="@string/emulation_slot4"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_5"
|
android:id="@+id/loadsave_state_button_5"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot5"
|
android:text="@string/emulation_slot5"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_6"
|
android:id="@+id/loadsave_state_button_6"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="96dp"
|
||||||
android:text="@string/emulation_slot6"
|
android:text="@string/emulation_slot6"
|
||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
</GridLayout>
|
</GridLayout>
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<integer name="loadsave_state_columns">2</integer>
|
||||||
|
<integer name="loadsave_state_rows">3</integer>
|
||||||
|
</resources>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<integer name="loadsave_state_columns">3</integer>
|
||||||
|
<integer name="loadsave_state_rows">2</integer>
|
||||||
|
</resources>
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<integer name="game_grid_columns">3</integer>
|
<integer name="game_grid_columns">3</integer>
|
||||||
|
<integer name="loadsave_state_columns">1</integer>
|
||||||
|
<integer name="loadsave_state_rows">6</integer>
|
||||||
|
|
||||||
<!-- Default GameCube landscape layout -->
|
<!-- Default GameCube landscape layout -->
|
||||||
<integer name="BUTTON_A_X">865</integer>
|
<integer name="BUTTON_A_X">865</integer>
|
||||||
|
|
Loading…
Reference in New Issue