blob: f3474e5a5a060aab9cc104940d1fbf9f70e3a66e [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
laurent93b5ec12017-04-20 21:51:02 +020020 <PreferenceCategory
21 android:key="category_theming"
22 android:title="@string/theming_title">
maxwen6bcb5c52017-01-21 17:21:33 +010023
laurent93b5ec12017-04-20 21:51:02 +020024 <Preference
25 android:key="oms_app"
26 android:title="@string/oms_app_title"
27 android:summary="@string/oms_app_summary"/>
28
29 <ListPreference
30 android:key="night_mode"
31 android:title="@string/night_mode_title"
32 settings:keywords="@string/keywords_display_night_mode"
33 android:summary="@string/night_mode_summary"
34 android:entries="@array/night_mode_entries"
35 android:entryValues="@array/night_mode_values" />
36
37 <PreferenceScreen
38 android:key="custom_wall_browse"
39 android:title="@string/custom_wall_browse_title"
40 android:summary="@string/custom_wall_browse_summary"
41 android:persistent="false" >
42 <intent android:action="android.intent.action.MAIN"
43 android:targetPackage="org.omnirom.omnistyle"
44 android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
maxwenc72b45e2017-01-30 17:29:31 +010045 </PreferenceScreen>
laurent93b5ec12017-04-20 21:51:02 +020046 </PreferenceCategory>
maxwenc72b45e2017-01-30 17:29:31 +010047
maxwenb51c1112017-01-12 01:10:46 +010048 <PreferenceCategory
49 android:key="category_statusbar"
50 android:title="@string/statusbar_title">
51
52 <PreferenceScreen
53 android:key="statusbar_battery"
54 android:title="@string/battery_title"
55 android:summary="@string/statusbar_battery_summary"
56 android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />
57
58 </PreferenceCategory>
59
60 <PreferenceCategory
61 android:key="status_bar_custom_header_category"
62 android:title="@string/notification_title" >
63
64 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
65 android:key="status_bar_custom_header"
66 android:title="@string/status_bar_custom_header_title"
67 android:summary="@string/status_bar_custom_header_summary"
68 android:defaultValue="false" />
69
70 <ListPreference
71 android:key="custom_header_provider"
72 android:title="@string/custom_header_provider_title"
73 android:persistent="false"
74 android:entries="@array/custom_header_provider_entries"
75 android:entryValues="@array/custom_header_provider_values"
76 android:dependency="status_bar_custom_header" />
77
78 <ListPreference
79 android:key="daylight_header_pack"
80 android:title="@string/daylight_header_pack_title"
81 android:persistent="false"
82 android:dependency="status_bar_custom_header" />
83
84 <PreferenceScreen
85 android:key="custom_header_browse"
86 android:title="@string/custom_header_browse_title"
87 android:summary="@string/custom_header_browse_summary"
88 android:dependency="status_bar_custom_header"
89 android:persistent="false" >
90 <intent android:action="android.intent.action.MAIN"
91 android:targetPackage="org.omnirom.omnistyle"
92 android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" />
93 </PreferenceScreen>
94
95 <org.omnirom.omnigears.preference.SeekBarPreference
96 android:key="status_bar_custom_header_shadow"
97 android:title="@string/status_bar_custom_header_shadow_title"
98 android:summary="@string/status_bar_custom_header_shadow_summary"
99 android:max="100"
100 settings:min="0"
101 settings:unitsLeft=""
102 settings:unitsRight="@string/unit_percent"
103 android:persistent="false"
104 android:dependency="status_bar_custom_header" />
maxwenb51c1112017-01-12 01:10:46 +0100105 </PreferenceCategory>
106</PreferenceScreen>