forked from gotify/android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot_preferences.xml
More file actions
48 lines (41 loc) · 2.12 KB
/
Copy pathroot_preferences.xml
File metadata and controls
48 lines (41 loc) · 2.12 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<PreferenceCategory app:title="@string/settings_appearance" >
<ListPreference
android:defaultValue="@string/theme_default"
android:entries="@array/mode"
android:entryValues="@array/mode"
android:key="@string/setting_key_theme"
android:title="@string/setting_theme" />
<ListPreference
android:defaultValue="@string/message_layout_value_normal"
android:entries="@array/message_layout_entries"
android:entryValues="@array/message_layout_values"
android:key="@string/setting_key_message_layout"
android:title="@string/setting_message_layout" />
<ListPreference
android:defaultValue="@string/time_format_value_relative"
android:entries="@array/time_format_entries"
android:entryValues="@array/time_format_values"
android:key="@string/setting_key_time_format"
android:title="@string/setting_time_format" />
<SwitchPreferenceCompat
android:defaultValue="@bool/exclude_from_recent"
android:key="@string/setting_key_exclude_from_recent"
android:title="@string/setting_exclude_from_recent"
app:singleLineTitle="false" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/setting_notifications" >
<SwitchPreferenceCompat
android:enabled="false"
android:defaultValue="@bool/notification_channels"
android:key="@string/setting_key_notification_channels"
android:title="@string/setting_notification_channels"
app:singleLineTitle="false" />
<SwitchPreferenceCompat
android:key="@string/setting_key_intent_dialog_permission"
android:title="@string/setting_intent_dialog_permission"
tools:summary="@string/setting_summary_intent_dialog_permission" />
</PreferenceCategory>
</PreferenceScreen>