blob: 788519ffa1ede1bdb60348afa21d5ddae43ca4e3 [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
maxwen4c9a2f42017-05-28 19:00:30 +020058 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
59 android:key="status_bar_logo"
60 android:title="@string/status_bar_logo_title"
61 android:summary="@string/status_bar_logo_summary"/>
62
maxwenb51c1112017-01-12 01:10:46 +010063 </PreferenceCategory>
64
65 <PreferenceCategory
66 android:key="status_bar_custom_header_category"
67 android:title="@string/notification_title" >
68
69 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
70 android:key="status_bar_custom_header"
71 android:title="@string/status_bar_custom_header_title"
72 android:summary="@string/status_bar_custom_header_summary"
73 android:defaultValue="false" />
74
75 <ListPreference
76 android:key="custom_header_provider"
77 android:title="@string/custom_header_provider_title"
78 android:persistent="false"
79 android:entries="@array/custom_header_provider_entries"
80 android:entryValues="@array/custom_header_provider_values"
81 android:dependency="status_bar_custom_header" />
82
83 <ListPreference
84 android:key="daylight_header_pack"
85 android:title="@string/daylight_header_pack_title"
86 android:persistent="false"
87 android:dependency="status_bar_custom_header" />
88
89 <PreferenceScreen
90 android:key="custom_header_browse"
91 android:title="@string/custom_header_browse_title"
92 android:summary="@string/custom_header_browse_summary"
93 android:dependency="status_bar_custom_header"
94 android:persistent="false" >
95 <intent android:action="android.intent.action.MAIN"
96 android:targetPackage="org.omnirom.omnistyle"
97 android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" />
98 </PreferenceScreen>
99
100 <org.omnirom.omnigears.preference.SeekBarPreference
101 android:key="status_bar_custom_header_shadow"
102 android:title="@string/status_bar_custom_header_shadow_title"
103 android:summary="@string/status_bar_custom_header_shadow_summary"
104 android:max="100"
105 settings:min="0"
106 settings:unitsLeft=""
107 settings:unitsRight="@string/unit_percent"
108 android:persistent="false"
109 android:dependency="status_bar_custom_header" />
maxwenb51c1112017-01-12 01:10:46 +0100110 </PreferenceCategory>
111</PreferenceScreen>