Android: Replace inline strings with string resource references
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
|
||||
<ListPreference
|
||||
app:key="Controller1/Type"
|
||||
app:title="Controller Type"
|
||||
app:title="@string/settings_controller_type"
|
||||
app:entries="@array/settings_controller_type_entries"
|
||||
app:entryValues="@array/settings_controller_type_values"
|
||||
app:defaultValue="DigitalController"
|
||||
@ -26,12 +26,12 @@
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Controller1/AutoEnableAnalog"
|
||||
app:title="Enable Analog Mode On Reset"
|
||||
app:title="@string/settings_enable_analog_mode_on_reset"
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
app:key="Controller1/TouchscreenControllerView"
|
||||
app:title="Touchscreen Controller View"
|
||||
app:title="@string/settings_touchscreen_controller_view"
|
||||
app:entries="@array/settings_touchscreen_controller_view_entries"
|
||||
app:entryValues="@array/settings_touchscreen_controller_view_values"
|
||||
app:defaultValue="digital"
|
||||
@ -39,27 +39,27 @@
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Controller1/AutoHideTouchscreenController"
|
||||
app:title="Auto-Hide Touchscreen Controller"
|
||||
app:title="@string/settings_auto_hide_touchscreen_controller"
|
||||
app:defaultValue="false"
|
||||
app:summary="Hides the touchscreen controller when an external controller is detected."
|
||||
app:summary="@string/settings_summary_auto_hide_touchscreen_controller"
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Controller1/HapticFeedback"
|
||||
app:title="Vibrate On Press"
|
||||
app:title="@string/settings_vibrate_on_press"
|
||||
app:defaultValue="false"
|
||||
app:summary="Enables a short vibration when a touchscreen button is pressed. Requires "Vibrate on Touch" to be enabled on your device."
|
||||
app:summary="@string/settings_summary_vibrate_on_press"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="Controller1/Vibration"
|
||||
app:title="Enable Vibration"
|
||||
app:title="@string/settings_enable_vibration"
|
||||
app:defaultValue="false"
|
||||
app:summary="Forwards rumble from the game to the phone's vibration motor."
|
||||
app:summary="@string/settings_summary_enable_vibration"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<ListPreference
|
||||
app:key="MemoryCards/Card1Type"
|
||||
app:title="Memory Card 1 Type"
|
||||
app:title="@string/settings_memory_card_1_type"
|
||||
app:entries="@array/settings_memory_card_mode_entries"
|
||||
app:entryValues="@array/settings_memory_card_mode_values"
|
||||
app:defaultValue="PerGameTitle"
|
||||
@ -67,7 +67,7 @@
|
||||
app:iconSpaceReserved="false" />
|
||||
<ListPreference
|
||||
app:key="MemoryCards/Card2Type"
|
||||
app:title="Memory Card 2 Type"
|
||||
app:title="@string/settings_memory_card_2_type"
|
||||
app:entries="@array/settings_memory_card_mode_entries"
|
||||
app:entryValues="@array/settings_memory_card_mode_values"
|
||||
app:defaultValue="None"
|
||||
|
||||
Reference in New Issue
Block a user