<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 CherishOS Project
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
          http://www.apache.org/licenses/LICENSE-2.0
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:title="@string/statusbar_title"
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
	
	<PreferenceCategory
        android:title="@string/statusbar_gesture_title">

        <com.cherish.settings.preferences.SystemSettingSwitchPreference
            android:key="double_tap_sleep_gesture"
            android:title="@string/double_tap_to_sleep_statusbar_title"
            android:summary="@string/double_tap_to_sleep_statusbar_summary"
            android:defaultValue="true" />

    </PreferenceCategory>
	
	<PreferenceCategory
        android:key="statusbar_icons"
        android:title="@string/sb_icons">
		
		<Preference
            android:key="status_bar_clock"
            android:fragment="com.cherish.settings.fragments.ClockDateSettings"
            android:title="@string/status_bar_clock_title" />
			
		<com.cherish.settings.preferences.SystemSettingSwitchPreference
            android:key="data_disabled_icon"
            android:title="@string/data_disabled_icon_title"
            android:summary="@string/data_disabled_icon_summary"
            android:defaultValue="true"/>
		
		<com.cherish.settings.preferences.SystemSettingSwitchPreference
             android:key="show_fourg_icon"
             android:title="@string/show_fourg_icon_title"
             android:summary="@string/show_fourg_icon_summary"
             android:defaultValue="false"/>
		
		<com.cherish.settings.preferences.SystemSettingSwitchPreference
        android:key="show_volte_icon"
        android:title="@string/volte_switch_title"
        android:summary="@string/volte_switch_summary"
        android:defaultValue="true" />

    <com.cherish.settings.preferences.SystemSettingListPreference
         android:key="volte_icon_style"
         android:title="@string/volte_icon_style_title"
         android:entries="@array/volte_icon_type_entries"
         android:entryValues="@array/volte_icon_type_values"
         android:summary="%s"
         android:defaultValue="0"
         android:dependency="show_volte_icon"/>

    <com.cherish.settings.preferences.SystemSettingListPreference
         android:key="vowifi_icon"
         android:title="@string/vowifi_icon_title"
         android:entries="@array/vowifi_icon_entries"
         android:entryValues="@array/vowifi_icon_values"
         android:summary="%s"
         android:defaultValue="0"/>

    <com.cherish.settings.preferences.SystemSettingListPreference
         android:key="vowifi_icon_style"
         android:title="@string/vowifi_icon_style_title"
         android:entries="@array/vowifi_icon_style_entries"
         android:entryValues="@array/vowifi_icon_style_values"
         android:summary="%s"
         android:defaultValue="0"/>
			 
		<com.cherish.settings.preferences.SystemSettingSwitchPreference
             android:key="roaming_indicator_icon"
             android:title="@string/roaming_indicator_icon_title"
             android:summary="@string/roaming_indicator_icon_summary"
             android:defaultValue="true"/>
			 
		<com.cherish.settings.preferences.SystemSettingSwitchPreference
            android:key="use_old_mobiletype"
            android:title="@string/use_old_mobiletype_title"
            android:summary="@string/use_old_mobiletype_summary"
            android:defaultValue="false" />  

           <com.cherish.settings.preferences.SecureSettingSwitchPreference
        android:key="show_combined_status_bar_signal_icons"
        android:title="@string/combined_status_bar_signal_icons"
        android:summary="@string/combined_status_bar_signal_icons_summary"
        android:defaultValue="false" />

       <Preference
            android:key="systemui_tuner_statusbar"
            android:title="@string/statusbar_items_category" >
            <intent android:action="android.intent.action.MAIN"
                android:targetPackage="com.android.systemui"
                android:targetClass="com.android.systemui.tuner.StatusbarItemsActivity" />
        </Preference>

    </PreferenceCategory>

</PreferenceScreen>
