Bimba.git

ref: 838e94515382b7a3df385f930b32d8b6a17ddd60

app/src/main/res/xml/root_preferences.xml


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
	<PreferenceCategory app:title="Units">
	<ListPreference
		app:defaultValue="default"
		app:entries="@array/unit_entries"
		app:entryValues="@array/unit_values"
		app:icon="@drawable/units"
		app:key="unit_system"
		app:title="@string/units_title"
		app:useSimpleSummaryProvider="true" />
	</PreferenceCategory>

	<PreferenceCategory app:title="Geocoding">
		<SwitchPreferenceCompat
			app:defaultValue="false"
			app:icon="@drawable/sync"
			app:key="autoupdate_cities_list"
			app:title="Update cities list weekly" />
		<Preference
			app:icon="@drawable/download"
			app:key="download_cities_list"
			app:title="Update cities list now" />
	</PreferenceCategory>

	<PreferenceCategory app:title="Appearance">
		<ListPreference
			app:defaultValue="italics"
			app:entries="@array/line_decorations"
			app:entryValues="@array/line_decorations_values"
			app:icon="@drawable/vehicle"
			app:key="line_decoration"
			app:title="@string/line_decorations"
			app:useSimpleSummaryProvider="true"
			/>
	</PreferenceCategory>
</PreferenceScreen>