Android: Add Game List settings

This commit is contained in:
Connor McLaughlin 2019-12-09 22:53:28 +10:00
parent c136ec5930
commit b6aa2a6496

View file

@ -17,6 +17,20 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory app:title="Game List">
<Preference
app:key="GameList/SearchPaths"
app:title="Game Search Directories"/>
<CheckBoxPreference
app:key="GameList/SearchRecursively"
app:title="Search Directories Recursively"
app:defaultValue="true" />
<EditTextPreference
app:key="GameList/RedumpDatPath"
app:title="Redump Database Path"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/settings_console_header"> <PreferenceCategory app:title="@string/settings_console_header">
<ListPreference <ListPreference
@ -81,14 +95,16 @@
app:title="@string/settings_gpu_renderer" app:title="@string/settings_gpu_renderer"
app:entries="@array/gpu_renderer_entries" app:entries="@array/gpu_renderer_entries"
app:entryValues="@array/gpu_renderer_values" app:entryValues="@array/gpu_renderer_values"
app:defaultValue="@string/settings_gpu_renderer_default"/> app:defaultValue="@string/settings_gpu_renderer_default"
app:useSimpleSummaryProvider="true" />
<ListPreference <ListPreference
app:key="GPU/ResolutionScale" app:key="GPU/ResolutionScale"
app:title="@string/settings_gpu_resolution_scale" app:title="@string/settings_gpu_resolution_scale"
app:entries="@array/settings_gpu_resolution_scale_entries" app:entries="@array/settings_gpu_resolution_scale_entries"
app:entryValues="@array/settings_gpu_resolution_scale_values" app:entryValues="@array/settings_gpu_resolution_scale_values"
app:defaultValue="@string/settings_gpu_renderer_default"/> app:defaultValue="@string/settings_gpu_renderer_default"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
app:key="GPU/TrueColor" app:key="GPU/TrueColor"
app:title="@string/settings_gpu_true_color" app:title="@string/settings_gpu_true_color"