blob: 3f557254dc22047f5e2fcc53f9d81453800f1f1c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The OmniROM Project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<ListPreference
android:key="night_mode"
android:title="@string/night_mode_title"
settings:keywords="@string/keywords_display_night_mode"
android:summary="@string/night_mode_summary"
android:entries="@array/night_mode_entries"
android:entryValues="@array/night_mode_values" />
<PreferenceScreen
android:key="custom_wall_browse"
android:title="@string/custom_wall_browse_title"
android:summary="@string/custom_wall_browse_summary"
android:persistent="false" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnistyle"
android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
</PreferenceScreen>
<PreferenceCategory
android:key="category_statusbar"
android:title="@string/statusbar_title">
<PreferenceScreen
android:key="statusbar_battery"
android:title="@string/battery_title"
android:summary="@string/statusbar_battery_summary"
android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />
</PreferenceCategory>
<PreferenceCategory
android:key="status_bar_custom_header_category"
android:title="@string/notification_title" >
<org.omnirom.omnigears.preference.SystemSettingSwitchPreference
android:key="status_bar_custom_header"
android:title="@string/status_bar_custom_header_title"
android:summary="@string/status_bar_custom_header_summary"
android:defaultValue="false" />
<ListPreference
android:key="custom_header_provider"
android:title="@string/custom_header_provider_title"
android:persistent="false"
android:entries="@array/custom_header_provider_entries"
android:entryValues="@array/custom_header_provider_values"
android:dependency="status_bar_custom_header" />
<ListPreference
android:key="daylight_header_pack"
android:title="@string/daylight_header_pack_title"
android:persistent="false"
android:dependency="status_bar_custom_header" />
<PreferenceScreen
android:key="custom_header_browse"
android:title="@string/custom_header_browse_title"
android:summary="@string/custom_header_browse_summary"
android:dependency="status_bar_custom_header"
android:persistent="false" >
<intent android:action="android.intent.action.MAIN"
android:targetPackage="org.omnirom.omnistyle"
android:targetClass="org.omnirom.omnistyle.BrowseHeaderActivity" />
</PreferenceScreen>
<org.omnirom.omnigears.preference.SeekBarPreference
android:key="status_bar_custom_header_shadow"
android:title="@string/status_bar_custom_header_shadow_title"
android:summary="@string/status_bar_custom_header_shadow_summary"
android:max="100"
settings:min="0"
settings:unitsLeft=""
settings:unitsRight="@string/unit_percent"
android:persistent="false"
android:dependency="status_bar_custom_header" />
</PreferenceCategory>
</PreferenceScreen>