<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2019-2022 The CherishOS 
     SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
    android:title="@string/network_traffic_title">

    <com.cherish.settings.preferences.SystemSettingMainSwitchPreference
        android:key="network_traffic_state"
        android:title="@string/network_traffic_master_switch_title"
        android:defaultValue="false" />

    <PreferenceCategory
        android:title="@string/network_options_title">

        <com.cherish.settings.preferences.SystemSettingSwitchPreference
            android:key="network_traffic_autohide_threshold"
            android:title="@string/network_traffic_autohide_title"
            android:summary="@string/network_traffic_autohide_summary"
            android:dependency="network_traffic_state"
            android:defaultValue="false" />

    </PreferenceCategory>

</PreferenceScreen>
