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

68 lines
2.9 KiB
XML
Raw Normal View History

2018-04-08 09:15:05 -05:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/pref_view_header">
2018-04-08 09:15:05 -05:00
<ListPreference
android:defaultValue="0"
2018-04-08 09:15:05 -05:00
android:entries="@array/startup_tab_entries"
android:entryValues="@array/startup_tab_value"
android:key="startup_tab"
android:summary="%s"
android:title="@string/pref_tab_list" />
<SwitchPreference
android:defaultValue="false"
android:key="grades_summary"
2018-06-08 17:59:39 -05:00
android:summary="@string/required_restart"
android:title="@string/pref_grades_summary_line_show" />
<SwitchPreference
android:defaultValue="true"
android:key="attendance_present"
2018-06-08 17:59:39 -05:00
android:summary="@string/required_restart"
android:title="@string/pref_attendance_present_show" />
2018-06-14 04:40:46 -05:00
<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" />
2018-04-08 09:15:05 -05:00
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_services_header">
2018-04-08 09:15:05 -05:00
<SwitchPreference
android:defaultValue="true"
android:key="services_enable"
android:title="@string/pref_services_switch" />
<ListPreference
android:defaultValue="60"
android:dependency="services_enable"
android:entries="@array/services_interval_entries"
android:entryValues="@array/services_interval_value"
android:key="services_interval"
android:summary="%s"
android:title="@string/pref_services_interval" />
<SwitchPreference
android:defaultValue="false"
2018-06-08 17:59:39 -05:00
android:dependency="services_enable"
2018-04-08 09:15:05 -05:00
android:key="services_disable_mobile"
2018-06-08 17:59:39 -05:00
android:title="@string/pref_services_mobile_data" />
2018-04-08 09:15:05 -05:00
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_notify_header">
2018-04-08 09:15:05 -05:00
<SwitchPreference
android:defaultValue="true"
android:dependency="services_enable"
android:key="notify_enable"
android:title="@string/pref_notify_switch" />
</PreferenceCategory>
2018-06-08 17:59:39 -05:00
<PreferenceCategory android:title="@string/pref_about">
<Preference
android:key="about_version"
android:title="@string/pref_about_version" />
<Preference
android:key="about_osl"
android:summary="@string/pref_about_osl_summary"
android:title="@string/pref_about_osl" />
<Preference
android:key="about_repo"
android:title="@string/pref_about_support" />
2018-05-07 09:05:57 -05:00
</PreferenceCategory>
</PreferenceScreen>