blob: b03adb2c2b4ddb8d199da4b5cf2f5ad5cfa45c8a [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"
maxwen0c7e4e22018-03-09 18:36:45 +010018 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 android:key="style_settings"
20 android:title="@string/style_settings_title" >
maxwenb51c1112017-01-12 01:10:46 +010021
maxwen58f71942017-08-31 14:37:41 +020022 <PreferenceCategory
23 android:key="category_theming"
24 android:title="@string/theming_title">
maxwen6bcb5c52017-01-21 17:21:33 +010025
maxwen58f71942017-08-31 14:37:41 +020026 <Preference
27 android:key="custom_wall_browse"
28 android:title="@string/custom_wall_browse_title"
29 android:summary="@string/custom_wall_browse_summary"
30 android:persistent="false" >
31 <intent android:action="android.intent.action.MAIN"
32 android:targetPackage="org.omnirom.omnistyle"
33 android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
34 </Preference>
maxwen2f40c282017-12-15 19:54:31 +010035
36 <ListPreference
37 android:key="systemui_theme_style"
38 android:title="@string/systemui_theme_style_title"
39 android:persistent="false"
40 android:entries="@array/systemui_theme_style_entries"
41 android:entryValues="@array/systemui_theme_style_values" />
42
maxwen67c4ae32018-02-09 00:45:57 +010043 <!--<ListPreference
maxwen6eec83c2018-01-23 16:54:54 +010044 android:key="omni_theme_select"
45 android:title="@string/omni_theme_select_title"
maxwen67c4ae32018-02-09 00:45:57 +010046 android:summary="@string/summary_placeholder" />-->
maxwen6eec83c2018-01-23 16:54:54 +010047
maxwen67c4ae32018-02-09 00:45:57 +010048 <Preference
49 android:key="omni_theme_select_activity"
50 android:title="@string/omni_theme_select_title"
51 android:summary="@string/omni_theme_select_summary"
52 android:persistent="false" >
53 <intent android:action="android.intent.action.MAIN"
54 android:targetPackage="org.omnirom.omnistyle"
55 android:targetClass="org.omnirom.omnistyle.BrowseThemesActivity" />
56 </Preference>
maxwen58f71942017-08-31 14:37:41 +020057 </PreferenceCategory>
maxwen2f40c282017-12-15 19:54:31 +010058
maxwen80abb702017-08-30 11:24:57 +020059 <PreferenceCategory
60 android:key="category_custom_header"
61 android:title="@string/custom_header_title">
62
63 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
64 android:key="status_bar_custom_header"
65 android:title="@string/status_bar_custom_header_title"
66 android:defaultValue="false" />
67
68 <ListPreference
69 android:key="custom_header_provider"
70 android:title="@string/custom_header_provider_title"
71 android:persistent="false"
72 android:entries="@array/custom_header_provider_entries"
73 android:entryValues="@array/custom_header_provider_values"
74 android:dependency="status_bar_custom_header" />
75
76 <ListPreference
77 android:key="daylight_header_pack"
78 android:title="@string/daylight_header_pack_title"
79 android:persistent="false"
80 android:dependency="status_bar_custom_header" />
81
82 <Preference
83 android:key="custom_header_browse"
maxwen384aaaa2018-02-17 17:38:25 +010084 android:title="@string/custom_header_pick_title"
85 android:summary="@string/custom_header_pick_summary"
maxwen80abb702017-08-30 11:24:57 +020086 android:persistent="false"
87 android:dependency="status_bar_custom_header" >
88 <intent android:action="android.intent.action.MAIN"
89 android:targetPackage="org.omnirom.omnistyle"
90 android:targetClass="org.omnirom.omnistyle.PickHeaderActivity" />
91 </Preference>
92
maxwenc169ddb2018-01-22 04:15:04 +010093 <Preference
94 android:key="file_header_select"
95 android:title="@string/file_header_select_title"
96 android:summary="@string/file_header_select_summary"
97 android:persistent="false"
98 android:dependency="status_bar_custom_header" >
99 </Preference>
100
maxwen80abb702017-08-30 11:24:57 +0200101 <org.omnirom.omnigears.preference.SeekBarPreference
102 android:key="status_bar_custom_header_shadow"
103 android:title="@string/status_bar_custom_header_shadow_title"
104 android:summary="@string/status_bar_custom_header_shadow_summary"
105 android:max="100"
106 settings:min="0"
107 settings:unitsLeft=""
108 settings:unitsRight="@string/unit_percent"
109 android:persistent="false"
110 android:dependency="status_bar_custom_header" />
111
112 </PreferenceCategory>
maxwenb51c1112017-01-12 01:10:46 +0100113</PreferenceScreen>