blob: 3f557254dc22047f5e2fcc53f9d81453800f1f1c [file] [log] [blame]
maxwenb51c1112017-01-12 01:10:46 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The OmniROM Project
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16-->
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
19
maxwen6bcb5c52017-01-21 17:21:33 +010020 <ListPreference
21 android:key="night_mode"
22 android:title="@string/night_mode_title"
23 settings:keywords="@string/keywords_display_night_mode"
24 android:summary="@string/night_mode_summary"
25 android:entries="@array/night_mode_entries"
26 android:entryValues="@array/night_mode_values" />
27
maxwenc72b45e2017-01-30 17:29:31 +010028 <PreferenceScreen
29 android:key="custom_wall_browse"
30 android:title="@string/custom_wall_browse_title"
31 android:summary="@string/custom_wall_browse_summary"
32 android:persistent="false" >
33 <intent android:action="android.intent.action.MAIN"
34 android:targetPackage="org.omnirom.omnistyle"
35 android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
36 </PreferenceScreen>
37
maxwenb51c1112017-01-12 01:10:46 +010038 <PreferenceCategory
39 android:key="category_statusbar"
40 android:title="@string/statusbar_title">
41
42 <PreferenceScreen
43 android:key="statusbar_battery"
44 android:title="@string/battery_title"
45 android:summary="@string/statusbar_battery_summary"
46 android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />
47
48 </PreferenceCategory>
49
50 <PreferenceCategory
51 android:key="status_bar_custom_header_category"
52 android:title="@string/notification_title" >
53
54 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
55 android:key="status_bar_custom_header"
56 android:title="@string/status_bar_custom_header_title"
57 android:summary="@string/status_bar_custom_header_summary"
58 android:defaultValue="false" />
59
60 <ListPreference
61 android:key="custom_header_provider"
62 android:title="@string/custom_header_provider_title"
63 android:persistent="false"
64 android:entries="@array/custom_header_provider_entries"
65 android:entryValues="@array/custom_header_provider_values"
66 android:dependency="status_bar_custom_header" />
67
68 <ListPreference
69 android:key="daylight_header_pack"
70 android:title="@string/daylight_header_pack_title"
71 android:persistent="false"
72 android:dependency="status_bar_custom_header" />
73
74 <PreferenceScreen
75 android:key="custom_header_browse"
76 android:title="@string/custom_header_browse_title"
77 android:summary="@string/custom_header_browse_summary"
78 android:dependency="status_bar_custom_header"
79 android:persistent="false" >
80 <intent android:action="android.intent.action.MAIN"
81 android:targetPackage="org.omnirom.omnistyle"
82 android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" />
83 </PreferenceScreen>
84
85 <org.omnirom.omnigears.preference.SeekBarPreference
86 android:key="status_bar_custom_header_shadow"
87 android:title="@string/status_bar_custom_header_shadow_title"
88 android:summary="@string/status_bar_custom_header_shadow_summary"
89 android:max="100"
90 settings:min="0"
91 settings:unitsLeft=""
92 settings:unitsRight="@string/unit_percent"
93 android:persistent="false"
94 android:dependency="status_bar_custom_header" />
95
96 </PreferenceCategory>
97</PreferenceScreen>