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

98 lines
4.3 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" />
<SwitchPreference
android:defaultValue="false"
android:key="@string/pref_key_expand_grade"
android:title="@string/pref_view_expand_grade"
app:iconSpaceReserved="false" />
<ListPreference
android:defaultValue="vulcan"
android:entries="@array/grade_color_scheme_entries"
android:entryValues="@array/grade_color_scheme_values"
android:key="@string/pref_key_grade_color_scheme"
android:summary="%s"
android:title="@string/pref_grade_color_scheme"
app:iconSpaceReserved="false" />
<ListPreference
android:defaultValue="0.0"
android:entries="@array/grade_modifier_entries"
android:entryValues="@array/grade_modifier_value"
android:key="@string/pref_key_grade_modifier_plus"
android:summary="%s"
android:title="@string/pref_view_grade_modifier_plus"
app:iconSpaceReserved="false" />
<ListPreference
android:defaultValue="0.0"
android:entries="@array/grade_modifier_entries"
android:entryValues="@array/grade_modifier_value"
android:key="@string/pref_key_grade_modifier_minus"
android:summary="%s"
android:title="@string/pref_view_grade_modifier_minus"
app:iconSpaceReserved="false" />
2018-11-01 13:27:02 -05:00
</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" />
2019-01-10 10:10:10 -06:00
<SwitchPreference
android:defaultValue="false"
android:key="@string/pref_key_notification_debug"
android:title="@string/pref_notify_debug_switch"
2019-01-10 10:10:10 -06:00
app:iconSpaceReserved="false" />
2018-05-07 09:05:57 -05:00
</PreferenceCategory>
</PreferenceScreen>