Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:title="@string/data_usage_summary_title">
     19 
     20     <com.android.settings.datausage.SpinnerPreference
     21         android:key="cycle" />
     22 
     23     <com.android.settings.applications.SpacePreference
     24         android:layout_height="8dp" />
     25 
     26     <Preference
     27         android:key="total_usage"
     28         android:title="@string/total_size_label"
     29         android:selectable="false"
     30         android:layout="@layout/horizontal_preference" />
     31 
     32     <Preference
     33         android:key="foreground_usage"
     34         android:title="@string/data_usage_label_foreground"
     35         android:selectable="false"
     36         android:layout="@layout/horizontal_preference" />
     37 
     38     <Preference
     39         android:key="background_usage"
     40         android:title="@string/data_usage_label_background"
     41         android:selectable="false"
     42         android:layout="@layout/horizontal_preference" />
     43 
     44     <com.android.settings.applications.SpacePreference
     45         android:layout_height="8dp" />
     46 
     47     <Preference
     48         android:key="app_settings"
     49         android:title="@string/data_usage_app_settings" />
     50 
     51     <SwitchPreference
     52         android:key="restrict_background"
     53         android:title="@string/data_usage_app_restrict_background"
     54         android:summary="@string/data_usage_app_restrict_background_summary" />
     55 
     56     <SwitchPreference
     57         android:key="unrestricted_data_saver"
     58         android:title="@string/unrestricted_app_title"
     59         android:summary="@string/unrestricted_app_summary" />
     60 
     61     <PreferenceCategory
     62         android:key="app_list"
     63         android:title="@string/data_usage_other_apps" />
     64 
     65 </PreferenceScreen>
     66