blob: 93c82dd44998cb0a3183f38da29ab934e36c04b3 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017-2018 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-auto"
android:key="bars_settings"
android:title="@string/custom_bars_settings_title" >
<PreferenceCategory
android:title="@string/status_bar_clock_title">
<org.omnirom.omnilib.preference.SystemSettingSwitchPreference
android:key="status_bar_clock"
android:title="@string/status_bar_clock_show"
android:defaultValue="true" />
<ListPreference
android:key="statusbar_clock_style"
android:title="@string/status_bar_clock_style_title"
android:dialogTitle="@string/status_bar_clock_style_title"
android:entries="@array/status_bar_clock_style_entries"
android:entryValues="@array/status_bar_clock_style_values"
android:dependency="status_bar_clock" />
<ListPreference
android:key="status_bar_am_pm"
android:title="@string/status_bar_am_pm_title"
android:dialogTitle="@string/status_bar_am_pm_title"
android:entries="@array/status_bar_am_pm_entries"
android:entryValues="@array/status_bar_am_pm_values"
android:dependency="status_bar_clock" />
<org.omnirom.omnilib.preference.SystemSettingSwitchPreference
android:key="status_bar_clock_seconds"
android:title="@string/clock_seconds_display"
android:dependency="status_bar_clock"
android:defaultValue="false" />
<ListPreference
android:key="clock_date_display"
android:title="@string/clock_date_display"
android:summary="@string/clock_date_display_summary"
android:entries="@array/clock_date_display_entries"
android:entryValues="@array/clock_date_display_values"
android:dependency="status_bar_clock" />
<ListPreference
android:key="clock_date_style"
android:title="@string/clock_date_style"
android:entries="@array/clock_date_style_entries"
android:entryValues="@array/clock_date_style_values"
android:dependency="clock_date_display" />
<ListPreference
android:key="clock_date_format"
android:title="@string/clock_date_format"
android:entries="@array/clock_date_format_entries_values"
android:entryValues="@array/clock_date_format_entries_values"
android:dependency="clock_date_display" />
</PreferenceCategory>
<PreferenceCategory
android:key="battery_settings"
android:title="@string/battery_style_category">
<ListPreference
android:key="status_bar_battery_style"
android:title="@string/battery_style_title"
android:summary="%s"
android:dialogTitle="@string/battery_style_title"
android:entries="@array/status_bar_battery_style_entries"
android:entryValues="@array/status_bar_battery_style_values"
android:defaultValue="0" />
<ListPreference
android:key="show_battery_percent"
android:title="@string/show_battery_percent_title"
android:entries="@array/battery_percent_entries"
android:entryValues="@array/battery_percent_values" />
</PreferenceCategory>
<PreferenceCategory
android:key="quick_settings_category"
android:title="@string/quick_settings_category">
<org.omnirom.omnilib.preference.SeekBarPreference
android:key="qs_panel_alpha"
android:title="@string/qs_panel_alpha_title"
android:summary="@string/qs_panel_alpha_summary"
android:max="100"
settings:min="0"
settings:unitsRight="@string/unit_percent"
android:persistent="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="statusbar_settings_category"
android:title="@string/statusbar_settings_category">
<org.omnirom.omnilib.preference.SystemSettingSwitchPreference
android:key="use_old_mobiletype"
android:title="@string/use_old_mobiletype_title"
android:summary="@string/use_old_mobiletype_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="aspect_ratio_category"
android:title="@string/aspect_ratio_category_title">
<org.omnirom.omnilib.preference.SystemSettingSwitchPreference
android:key="aspect_ratio_apps_enabled"
android:title="@string/aspect_ratio_apps_enabled_title"
android:summary="@string/aspect_ratio_apps_enabled_summary"
android:defaultValue="false" />
<org.omnirom.omnilib.preference.AppMultiSelectListPreference
android:dependency="aspect_ratio_apps_enabled"
android:key="aspect_ratio_apps_list"
android:persistent="false"
android:summary="@string/aspect_ratio_apps_list_summary"
android:title="@string/aspect_ratio_apps_list_title" />
<org.omnirom.omnilib.preference.ScrollAppsViewPreference
android:dependency="aspect_ratio_apps_enabled"
android:key="aspect_ratio_apps_list_scroller"
android:persistent="false"
android:selectable="false" />
<Preference
android:dependency="aspect_ratio_apps_enabled"
android:icon="@drawable/ic_info_outline_24dp"
android:persistent="false"
android:summary="@string/aspect_ratio_apps_info" />
</PreferenceCategory>
</PreferenceScreen>