• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <PreferenceCategory
24        android:key="app_data_usage_summary_category">
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    </PreferenceCategory>
45
46    <PreferenceCategory
47        android:key="app_data_usage_settings_category">
48        <Preference
49            android:key="app_settings"
50            android:title="@string/data_usage_app_settings" />
51
52        <SwitchPreference
53            android:key="restrict_background"
54            android:title="@string/data_usage_app_restrict_background"
55            android:summary="@string/data_usage_app_restrict_background_summary" />
56
57        <SwitchPreference
58            android:key="unrestricted_data_saver"
59            android:title="@string/unrestricted_app_title"
60            android:summary="@string/unrestricted_app_summary" />
61
62    </PreferenceCategory>
63
64    <PreferenceCategory
65        android:key="app_list"
66        android:title="@string/data_usage_other_apps" />
67
68</PreferenceScreen>
69