<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2014-2016 AospExtended ROM 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
    android:title="@string/network_traffic_state_title"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">

    <ListPreference
        android:key="network_traffic_location"
        android:title="@string/network_traffic_location"
        android:summary="%s"
        android:entries="@array/network_traffic_location_entries"
        android:entryValues="@array/network_traffic_location_values"
        android:persistent="false" />
		
	<ListPreference
        android:key="network_traffic_type"
        android:title="@string/network_traffic_type"
        android:entries="@array/show_network_traffic_type_entries"
        android:entryValues="@array/show_network_traffic_type_values"
        android:defaultValue="0"
        android:persistent="false" />
		
     <ListPreference
        android:key="network_traffic_layout"
        android:title="@string/network_traffic_layout"
        android:entries="@array/network_traffic_layout_entries"
        android:entryValues="@array/network_traffic_layout_values"
        android:persistent="false" />

    <com.cherish.settings.preferences.CustomSeekBarPreference
        android:key="network_traffic_autohide_threshold"
        android:title="@string/network_traffic_autohide_threshold_title"
        android:max="10"
        settings:min="0"
        settings:units="" />

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

    <com.cherish.settings.preferences.CustomSeekBarPreference
        android:key="network_traffic_font_size"
        android:title="@string/nettraf_font_size"
        android:max="60"
        settings:min="21"
        settings:defaultValue="42"
        settings:units="dp" />

    <com.cherish.settings.preferences.SystemSettingListPreference 
        android:key="network_traffic_font_style" 
        android:title="@string/net_traffic_font" 
        android:entries="@array/lock_clock_fonts_entries" 
        android:entryValues="@array/lock_clock_fonts_values" 
        android:summary="%s"
        android:defaultValue="0" />

</PreferenceScreen>
