blob: 63723e9dd1c5e9b71d378fcacd64b00a93bf625f [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
maxwen7ef88c52017-08-09 02:20:52 +020029 <PreferenceScreen
30 android:key="omni_theme"
31 android:title="@string/omni_theme_title"
32 android:summary="@string/omni_theme_summary"
33 android:persistent="false" >
34 <intent android:action="android.intent.action.MAIN"
35 android:targetPackage="org.omnirom.daynight"
36 android:targetClass="org.omnirom.daynight.OmniSubstratumLauncher" />
37 </PreferenceScreen>
38
laurent93b5ec12017-04-20 21:51:02 +020039 <ListPreference
40 android:key="night_mode"
41 android:title="@string/night_mode_title"
42 settings:keywords="@string/keywords_display_night_mode"
43 android:summary="@string/night_mode_summary"
44 android:entries="@array/night_mode_entries"
45 android:entryValues="@array/night_mode_values" />
46
47 <PreferenceScreen
48 android:key="custom_wall_browse"
49 android:title="@string/custom_wall_browse_title"
50 android:summary="@string/custom_wall_browse_summary"
51 android:persistent="false" >
52 <intent android:action="android.intent.action.MAIN"
53 android:targetPackage="org.omnirom.omnistyle"
54 android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
maxwenc72b45e2017-01-30 17:29:31 +010055 </PreferenceScreen>
laurent93b5ec12017-04-20 21:51:02 +020056 </PreferenceCategory>
maxwenc72b45e2017-01-30 17:29:31 +010057
maxwenb51c1112017-01-12 01:10:46 +010058 <PreferenceCategory
59 android:key="category_statusbar"
60 android:title="@string/statusbar_title">
61
62 <PreferenceScreen
63 android:key="statusbar_battery"
64 android:title="@string/battery_title"
65 android:summary="@string/statusbar_battery_summary"
66 android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />
67
maxwen4c9a2f42017-05-28 19:00:30 +020068 <org.omnirom.omnigears.preference.SystemCheckBoxPreference
69 android:key="status_bar_logo"
70 android:title="@string/status_bar_logo_title"
71 android:summary="@string/status_bar_logo_summary"/>
72
maxwenb51c1112017-01-12 01:10:46 +010073 </PreferenceCategory>
74
75 <PreferenceCategory
76 android:key="status_bar_custom_header_category"
77 android:title="@string/notification_title" >
78
79 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
80 android:key="status_bar_custom_header"
81 android:title="@string/status_bar_custom_header_title"
82 android:summary="@string/status_bar_custom_header_summary"
83 android:defaultValue="false" />
84
85 <ListPreference
86 android:key="custom_header_provider"
87 android:title="@string/custom_header_provider_title"
88 android:persistent="false"
89 android:entries="@array/custom_header_provider_entries"
90 android:entryValues="@array/custom_header_provider_values"
91 android:dependency="status_bar_custom_header" />
92
93 <ListPreference
94 android:key="daylight_header_pack"
95 android:title="@string/daylight_header_pack_title"
96 android:persistent="false"
97 android:dependency="status_bar_custom_header" />
98
99 <PreferenceScreen
100 android:key="custom_header_browse"
101 android:title="@string/custom_header_browse_title"
maxwenb51c1112017-01-12 01:10:46 +0100102 android:dependency="status_bar_custom_header"
maxwenc6e08592017-08-20 02:07:40 +0200103 android:persistent="false" />
maxwenb51c1112017-01-12 01:10:46 +0100104
105 <org.omnirom.omnigears.preference.SeekBarPreference
106 android:key="status_bar_custom_header_shadow"
107 android:title="@string/status_bar_custom_header_shadow_title"
108 android:summary="@string/status_bar_custom_header_shadow_summary"
109 android:max="100"
110 settings:min="0"
111 settings:unitsLeft=""
112 settings:unitsRight="@string/unit_percent"
113 android:persistent="false"
114 android:dependency="status_bar_custom_header" />
maxwenb51c1112017-01-12 01:10:46 +0100115 </PreferenceCategory>
116</PreferenceScreen>