1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-27 22:43:34 -06:00
wulkanowy-mirror/app/src/main/res/xml/scheme_preferences.xml

64 lines
2.7 KiB
XML
Raw Normal View History

2018-04-08 09:15:05 -05:00
<?xml version="1.0" encoding="utf-8"?>
2018-10-22 15:47:54 -05:00
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2018-11-01 13:27:02 -05:00
xmlns:app="http://schemas.android.com/apk/res-auto">
2018-10-22 15:47:54 -05:00
<PreferenceCategory
2018-11-01 13:27:02 -05:00
android:title="@string/pref_view_header"
app:iconSpaceReserved="false">
2018-04-08 09:15:05 -05:00
<ListPreference
2018-11-01 13:27:02 -05:00
android:defaultValue="0"
android:entries="@array/startup_tab_entries"
android:entryValues="@array/startup_tab_value"
android:key="@string/pref_key_start_menu"
android:summary="%s"
android:title="@string/pref_view_list"
app:iconSpaceReserved="false" />
<ListPreference
android:defaultValue="1"
android:entries="@array/theme_entries"
android:entryValues="@array/theme_values"
android:key="theme"
android:summary="%s"
android:title="@string/pref_view_theme_dark"
app:iconSpaceReserved="false" />
<SwitchPreference
android:defaultValue="true"
android:key="@string/pref_key_attendance_present"
android:title="@string/pref_view_present"
app:iconSpaceReserved="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_services_header"
app:iconSpaceReserved="false">
<SwitchPreference
2018-11-01 13:27:02 -05:00
android:defaultValue="true"
android:key="@string/pref_key_services_enable"
android:title="@string/pref_services_switch"
app:iconSpaceReserved="false" />
2018-10-30 16:06:29 -05:00
<ListPreference
2018-11-01 13:27:02 -05:00
android:defaultValue="60"
android:dependency="services_enable"
android:entries="@array/services_interval_entries"
android:entryValues="@array/services_interval_value"
android:key="@string/pref_key_services_interval"
android:summary="%s"
android:title="@string/pref_services_interval"
app:iconSpaceReserved="false" />
<SwitchPreference
android:defaultValue="false"
android:dependency="services_enable"
android:key="@string/pref_key_services_wifi_only"
android:title="@string/pref_services_wifi"
app:iconSpaceReserved="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_notify_header"
app:iconSpaceReserved="false">
<SwitchPreference
android:defaultValue="true"
android:dependency="services_enable"
android:key="@string/pref_key_notifications_enable"
android:title="@string/pref_notify_switch"
app:iconSpaceReserved="false" />
2018-05-07 09:05:57 -05:00
</PreferenceCategory>
</PreferenceScreen>