maxwen | b51c111 | 2017-01-12 01:10:46 +0100 | [diff] [blame] | 1 | <?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 | |
laurent | 93b5ec1 | 2017-04-20 21:51:02 +0200 | [diff] [blame] | 20 | <PreferenceCategory |
| 21 | android:key="category_theming" |
| 22 | android:title="@string/theming_title"> |
maxwen | 6bcb5c5 | 2017-01-21 17:21:33 +0100 | [diff] [blame] | 23 | |
laurent | 93b5ec1 | 2017-04-20 21:51:02 +0200 | [diff] [blame] | 24 | <Preference |
| 25 | android:key="oms_app" |
| 26 | android:title="@string/oms_app_title" |
| 27 | android:summary="@string/oms_app_summary"/> |
| 28 | |
maxwen | 7ef88c5 | 2017-08-09 02:20:52 +0200 | [diff] [blame^] | 29 | <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 | |
laurent | 93b5ec1 | 2017-04-20 21:51:02 +0200 | [diff] [blame] | 39 | <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" /> |
maxwen | c72b45e | 2017-01-30 17:29:31 +0100 | [diff] [blame] | 55 | </PreferenceScreen> |
laurent | 93b5ec1 | 2017-04-20 21:51:02 +0200 | [diff] [blame] | 56 | </PreferenceCategory> |
maxwen | c72b45e | 2017-01-30 17:29:31 +0100 | [diff] [blame] | 57 | |
maxwen | b51c111 | 2017-01-12 01:10:46 +0100 | [diff] [blame] | 58 | <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 | |
maxwen | 4c9a2f4 | 2017-05-28 19:00:30 +0200 | [diff] [blame] | 68 | <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 | |
maxwen | b51c111 | 2017-01-12 01:10:46 +0100 | [diff] [blame] | 73 | </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" |
| 102 | android:summary="@string/custom_header_browse_summary" |
| 103 | android:dependency="status_bar_custom_header" |
| 104 | android:persistent="false" > |
| 105 | <intent android:action="android.intent.action.MAIN" |
| 106 | android:targetPackage="org.omnirom.omnistyle" |
| 107 | android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" /> |
| 108 | </PreferenceScreen> |
| 109 | |
| 110 | <org.omnirom.omnigears.preference.SeekBarPreference |
| 111 | android:key="status_bar_custom_header_shadow" |
| 112 | android:title="@string/status_bar_custom_header_shadow_title" |
| 113 | android:summary="@string/status_bar_custom_header_shadow_summary" |
| 114 | android:max="100" |
| 115 | settings:min="0" |
| 116 | settings:unitsLeft="" |
| 117 | settings:unitsRight="@string/unit_percent" |
| 118 | android:persistent="false" |
| 119 | android:dependency="status_bar_custom_header" /> |
maxwen | b51c111 | 2017-01-12 01:10:46 +0100 | [diff] [blame] | 120 | </PreferenceCategory> |
| 121 | </PreferenceScreen> |