2019-08-26 13:54:20 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--suppress AndroidElementNotAllowed -->
|
|
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
2018-10-22 15:47:54 -05:00
|
|
|
<PreferenceCategory
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:title="@string/pref_view_header">
|
2018-04-08 09:15:05 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_startup"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/startup_tab_entries"
|
|
|
|
app:entryValues="@array/startup_tab_value"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_start_menu"
|
|
|
|
app:title="@string/pref_view_list"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2018-11-01 13:27:02 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_app_theme"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/app_theme_entries"
|
|
|
|
app:entryValues="@array/app_theme_values"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_app_theme"
|
|
|
|
app:title="@string/pref_view_app_theme"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_attendance_present"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_attendance_present"
|
|
|
|
app:title="@string/pref_view_present" />
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_expand_grade"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_expand_grade"
|
|
|
|
app:title="@string/pref_view_expand_grade" />
|
2020-01-20 15:18:26 -06:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="@string/pref_default_timetable_show_whole_class"
|
|
|
|
app:entries="@array/timetable_show_whole_class_entries"
|
|
|
|
app:entryValues="@array/timetable_show_whole_class_values"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_timetable_show_whole_class"
|
|
|
|
app:title="@string/pref_view_timetable_show_whole_class"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2019-03-03 08:11:20 -06:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_grade_color_scheme"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/grade_color_scheme_entries"
|
|
|
|
app:entryValues="@array/grade_color_scheme_values"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_grade_color_scheme"
|
|
|
|
app:title="@string/pref_view_grade_color_scheme"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2019-11-03 05:37:03 -06:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="@string/pref_default_app_language"
|
|
|
|
app:entries="@array/app_language_entries"
|
|
|
|
app:entryValues="@array/app_language_values"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_app_language"
|
|
|
|
app:title="@string/pref_view_app_language"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2018-11-01 13:27:02 -05:00
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:title="@string/pref_services_header">
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_services_enable"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_services_enable"
|
|
|
|
app:title="@string/pref_services_switch" />
|
2018-10-30 16:06:29 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_services_interval"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:dependency="services_enable"
|
|
|
|
app:entries="@array/services_interval_entries"
|
|
|
|
app:entryValues="@array/services_interval_value"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_services_interval"
|
|
|
|
app:title="@string/pref_services_interval"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_services_wifi_only"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:dependency="services_enable"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_services_wifi_only"
|
|
|
|
app:title="@string/pref_services_wifi" />
|
2018-11-01 13:27:02 -05:00
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:title="@string/pref_notify_header">
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_notifications_enable"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:dependency="services_enable"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_notifications_enable"
|
|
|
|
app:title="@string/pref_notify_switch" />
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_notification_debug"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_notification_debug"
|
|
|
|
app:title="@string/pref_notify_debug_switch" />
|
2018-05-07 09:05:57 -05:00
|
|
|
</PreferenceCategory>
|
2019-03-17 15:02:41 -05:00
|
|
|
<PreferenceCategory
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:title="@string/pref_other_header">
|
2019-03-17 15:02:41 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_grade_modifier_plus"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/grade_modifier_entries"
|
|
|
|
app:entryValues="@array/grade_modifier_value"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_grade_modifier_plus"
|
|
|
|
app:title="@string/pref_other_grade_modifier_plus"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2019-03-17 15:02:41 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_grade_modifier_minus"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/grade_modifier_entries"
|
|
|
|
app:entryValues="@array/grade_modifier_value"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_grade_modifier_minus"
|
|
|
|
app:title="@string/pref_other_grade_modifier_minus"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2019-04-17 17:32:43 -05:00
|
|
|
<ListPreference
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@string/pref_default_grade_average_mode"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:entries="@array/grade_average_mode_entries"
|
|
|
|
app:entryValues="@array/grade_average_mode_values"
|
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_grade_average_mode"
|
|
|
|
app:title="@string/pref_view_grade_average_mode"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_grade_average_force_calc"
|
2019-11-03 05:37:03 -06:00
|
|
|
app:iconSpaceReserved="false"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:key="@string/pref_key_grade_average_force_calc"
|
2019-11-03 05:37:03 -06:00
|
|
|
app:title="@string/pref_view_grade_average_force_calc" />
|
2019-08-26 13:54:20 -05:00
|
|
|
<SwitchPreferenceCompat
|
2019-10-16 13:10:24 -05:00
|
|
|
app:defaultValue="@bool/pref_default_fill_message_content"
|
2019-08-26 13:54:20 -05:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="@string/pref_key_fill_message_content"
|
|
|
|
app:title="@string/pref_other_fill_message_content" />
|
2019-03-17 15:02:41 -05:00
|
|
|
</PreferenceCategory>
|
2018-04-26 17:03:37 -05:00
|
|
|
</PreferenceScreen>
|