blob: f1eab00e9f861d1d428e1ef8fdd5090558432a8f [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
maxwenb51c1112017-01-12 01:10:46 +010028 <PreferenceCategory
29 android:key="category_statusbar"
30 android:title="@string/statusbar_title">
31
32 <PreferenceScreen
33 android:key="statusbar_battery"
34 android:title="@string/battery_title"
35 android:summary="@string/statusbar_battery_summary"
36 android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />
37
38 </PreferenceCategory>
39
40 <PreferenceCategory
41 android:key="status_bar_custom_header_category"
42 android:title="@string/notification_title" >
43
44 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
45 android:key="status_bar_custom_header"
46 android:title="@string/status_bar_custom_header_title"
47 android:summary="@string/status_bar_custom_header_summary"
48 android:defaultValue="false" />
49
50 <ListPreference
51 android:key="custom_header_provider"
52 android:title="@string/custom_header_provider_title"
53 android:persistent="false"
54 android:entries="@array/custom_header_provider_entries"
55 android:entryValues="@array/custom_header_provider_values"
56 android:dependency="status_bar_custom_header" />
57
58 <ListPreference
59 android:key="daylight_header_pack"
60 android:title="@string/daylight_header_pack_title"
61 android:persistent="false"
62 android:dependency="status_bar_custom_header" />
63
64 <PreferenceScreen
65 android:key="custom_header_browse"
66 android:title="@string/custom_header_browse_title"
67 android:summary="@string/custom_header_browse_summary"
68 android:dependency="status_bar_custom_header"
69 android:persistent="false" >
70 <intent android:action="android.intent.action.MAIN"
71 android:targetPackage="org.omnirom.omnistyle"
72 android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" />
73 </PreferenceScreen>
74
75 <org.omnirom.omnigears.preference.SeekBarPreference
76 android:key="status_bar_custom_header_shadow"
77 android:title="@string/status_bar_custom_header_shadow_title"
78 android:summary="@string/status_bar_custom_header_shadow_summary"
79 android:max="100"
80 settings:min="0"
81 settings:unitsLeft=""
82 settings:unitsRight="@string/unit_percent"
83 android:persistent="false"
84 android:dependency="status_bar_custom_header" />
85
86 </PreferenceCategory>
87</PreferenceScreen>