Android: Add per-game settings and properties UI
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/property_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="TextView"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/property_value"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_below="@id/property_title"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="TextView" />
|
||||
</RelativeLayout>
|
||||
@ -7,4 +7,7 @@
|
||||
<item
|
||||
android:id="@+id/game_list_entry_menu_resume_game"
|
||||
android:title="@string/menu_game_list_entry_resume_game" />
|
||||
<item
|
||||
android:id="@+id/game_list_entry_menu_properties"
|
||||
android:title="Game Properties" />
|
||||
</menu>
|
||||
@ -460,4 +460,12 @@
|
||||
<item>Box</item>
|
||||
<item>Adaptive</item>
|
||||
</string-array>
|
||||
<string-array name="settings_boolean_entries">
|
||||
<item>Disabled</item>
|
||||
<item>Enabled</item>
|
||||
</string-array>
|
||||
<string-array name="settings_boolean_values">
|
||||
<item>false</item>
|
||||
<item>true</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@ -183,4 +183,7 @@
|
||||
<string name="settings_disable_all_enhancements">Disable All Enhancements</string>
|
||||
<string name="settings_summary_disable_all_enhancements">Temporarily disables all enhancements, which can be useful when debugging issues.</string>
|
||||
<string name="settings_downsample_mode">Downsampling</string>
|
||||
<string name="activity_game_properties">Game Properties</string>
|
||||
<string name="game_properties_preference_use_global_setting">Use Global Setting</string>
|
||||
<string name="settings_input_profile">Input Profile</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user