Android: Add graphical save/load state selector
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
<vector android:height="60dp" android:tint="?attr/colorControlNormal"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="60dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8 0,-1.85 0.63,-3.55 1.69,-4.9L16.9,18.31C15.55,19.37 13.85,20 12,20zM18.31,16.9L7.1,5.69C8.45,4.63 10.15,4 12,4c4.42,0 8,3.58 8,8 0,1.85 -0.63,3.55 -1.69,4.9z"/>
|
||||
</vector>
|
||||
66
android/app/src/main/res/layout/save_state_view_entry.xml
Normal file
66
android/app/src/main/res/layout/save_state_view_entry.xml
Normal file
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:scaleType="fitXY"
|
||||
tools:srcCompat="@drawable/ic_media_cdrom" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="Game Slot 1"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@id/image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/game"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:text="SCES-0000 - Game Name"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:layout_below="@id/summary"
|
||||
android:layout_toRightOf="@id/image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/path"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:text="Dump Name.chd"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:layout_below="@id/game"
|
||||
android:layout_toRightOf="@id/image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/timestamp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:text="Saved at Timestamp"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:layout_below="@id/path"
|
||||
android:layout_toRightOf="@id/image" />
|
||||
|
||||
</RelativeLayout>
|
||||
@ -81,7 +81,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Cargar Estado</item>
|
||||
<item>Guardar Estado</item>
|
||||
<item>Guardar Estado en Ranura</item>
|
||||
<item>Activar Avance Rápido</item>
|
||||
<item>Más Opciones</item>
|
||||
<item>Salir</item>
|
||||
@ -94,19 +93,6 @@
|
||||
<item>Cambiar Control de Pantalla Tactil</item>
|
||||
<item>Editar Diseño del Control de Pantalla Tactil</item>
|
||||
</string-array>
|
||||
<string-array name="emulation_save_state_slot_menu">
|
||||
<item>Ranura Rápida</item>
|
||||
<item>Ranura 1</item>
|
||||
<item>Ranura 2</item>
|
||||
<item>Ranura 3</item>
|
||||
<item>Ranura 4</item>
|
||||
<item>Ranura 5</item>
|
||||
<item>Ranura 6</item>
|
||||
<item>Ranura 7</item>
|
||||
<item>Ranura 8</item>
|
||||
<item>Ranura 9</item>
|
||||
<item>Ranura 10</item>
|
||||
</string-array>
|
||||
<string-array name="settings_cdrom_read_speedup_entries">
|
||||
<item>Ninguno (Velocidad Doble)</item>
|
||||
<item>2x (Velocidad Cuádruple)</item>
|
||||
|
||||
@ -81,7 +81,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Carica Stato</item>
|
||||
<item>Salva Stato</item>
|
||||
<item>Slot Salvataggio Stato</item>
|
||||
<item>Abilita/Disabilita Avanti Veloce</item>
|
||||
<item>Altre Opzioni</item>
|
||||
<item>Esci</item>
|
||||
@ -94,19 +93,6 @@
|
||||
<item>Cambia Controller Touchscreen</item>
|
||||
<item>Edit Touchscreen Controller Layout</item>
|
||||
</string-array>
|
||||
<string-array name="emulation_save_state_slot_menu">
|
||||
<item>Slot Veloce</item>
|
||||
<item>Slot Gioco 1</item>
|
||||
<item>Slot Gioco 2</item>
|
||||
<item>Slot Gioco 3</item>
|
||||
<item>Slot Gioco 4</item>
|
||||
<item>Slot Gioco 5</item>
|
||||
<item>Slot Gioco 6</item>
|
||||
<item>Slot Gioco 7</item>
|
||||
<item>Slot Gioco 8</item>
|
||||
<item>Slot Gioco 9</item>
|
||||
<item>Slot Gioco 10</item>
|
||||
</string-array>
|
||||
<string-array name="settings_cdrom_read_speedup_entries">
|
||||
<item>Nessuna Velocità Doppia)</item>
|
||||
<item>2x (Velocità Quadrupla</item>
|
||||
|
||||
@ -81,7 +81,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Staat Laden</item>
|
||||
<item>Staat Opslaan</item>
|
||||
<item>Staat Nummer</item>
|
||||
<item>Doorspoelen aan/uitzetten</item>
|
||||
<item>Meer Opties</item>
|
||||
<item>Afsluiten</item>
|
||||
@ -94,19 +93,6 @@
|
||||
<item>Touchscreen Controller Aanpassen</item>
|
||||
<item>Edit Touchscreen Controller Layout</item>
|
||||
</string-array>
|
||||
<string-array name="emulation_save_state_slot_menu">
|
||||
<item>Snel Slot</item>
|
||||
<item>Game Slot 1</item>
|
||||
<item>Game Slot 2</item>
|
||||
<item>Game Slot 3</item>
|
||||
<item>Game Slot 4</item>
|
||||
<item>Game Slot 5</item>
|
||||
<item>Game Slot 6</item>
|
||||
<item>Game Slot 7</item>
|
||||
<item>Game Slot 8</item>
|
||||
<item>Game Slot 9</item>
|
||||
<item>Game Slot 10</item>
|
||||
</string-array>
|
||||
<string-array name="settings_cdrom_read_speedup_entries">
|
||||
<item>Geen (Dubbele Snelheid)</item>
|
||||
<item>2x (Vierdubbele Snelheid)</item>
|
||||
|
||||
@ -81,7 +81,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Carregar Estado</item>
|
||||
<item>Salvar Estado</item>
|
||||
<item>Salvar para Compartimento</item>
|
||||
<item>Avanço (Fixo)</item>
|
||||
<item>Mais Opções</item>
|
||||
<item>Sair</item>
|
||||
@ -94,19 +93,6 @@
|
||||
<item>Mudar controle em Tela</item>
|
||||
<item>Editar Posição dos Controles (Tela)</item>
|
||||
</string-array>
|
||||
<string-array name="emulation_save_state_slot_menu">
|
||||
<item>Armazenamento Rápido</item>
|
||||
<item>Armazenamento 1</item>
|
||||
<item>Armazenamento 2</item>
|
||||
<item>Armazenamento 3</item>
|
||||
<item>Armazenamento 4</item>
|
||||
<item>Armazenamento 5</item>
|
||||
<item>Armazenamento 6</item>
|
||||
<item>Armazenamento 7</item>
|
||||
<item>Armazenamento 8</item>
|
||||
<item>Armazenamento 9</item>
|
||||
<item>Armazenamento 10</item>
|
||||
</string-array>
|
||||
<string-array name="settings_cdrom_read_speedup_entries">
|
||||
<item>Nenhum</item>
|
||||
<item>2x (4x Veloz)</item>
|
||||
|
||||
@ -81,7 +81,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Загрузить состояние</item>
|
||||
<item>Сохранить состояние</item>
|
||||
<item>Слот сохранения</item>
|
||||
<item>Включить ускорение</item>
|
||||
<item>Другие опции</item>
|
||||
<item>Выход</item>
|
||||
|
||||
@ -160,7 +160,6 @@
|
||||
<string-array name="emulation_menu">
|
||||
<item>Load State</item>
|
||||
<item>Save State</item>
|
||||
<item>Save State Slot</item>
|
||||
<item>Toggle Fast Forward</item>
|
||||
<item>More Options</item>
|
||||
<item>Quit</item>
|
||||
@ -173,19 +172,6 @@
|
||||
<item>Change Touchscreen Controller</item>
|
||||
<item>Edit Touchscreen Controller Layout</item>
|
||||
</string-array>
|
||||
<string-array name="emulation_save_state_slot_menu">
|
||||
<item>Quick Slot</item>
|
||||
<item>Game Slot 1</item>
|
||||
<item>Game Slot 2</item>
|
||||
<item>Game Slot 3</item>
|
||||
<item>Game Slot 4</item>
|
||||
<item>Game Slot 5</item>
|
||||
<item>Game Slot 6</item>
|
||||
<item>Game Slot 7</item>
|
||||
<item>Game Slot 8</item>
|
||||
<item>Game Slot 9</item>
|
||||
<item>Game Slot 10</item>
|
||||
</string-array>
|
||||
<string-array name="settings_cdrom_read_speedup_entries">
|
||||
<item>None (Double Speed)</item>
|
||||
<item>2x (Quad Speed)</item>
|
||||
|
||||
@ -206,4 +206,8 @@
|
||||
<string name="menu_edit_game_directories_add_path">Add Path</string>
|
||||
<string name="edit_game_directories_add_path">Add Path</string>
|
||||
<string name="edit_game_directories_add_path_summary">Enter the full path to the directory with games.\n\nYou can get this from a file manager app.\n\nExample: /storage/emulated/0/games</string>
|
||||
<string name="save_state_info_slot_is_empty">Slot Is Empty</string>
|
||||
<string name="save_state_info_game_save_n">Game Save %d</string>
|
||||
<string name="save_state_info_global_save_n">Global Save %d</string>
|
||||
<string name="save_state_info_quick_save">Quick Save</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user