• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:title="@string/storage_label">
21
22    <com.android.settingslib.widget.ActionButtonsPreference
23        android:key="header_view" />
24
25    <Preference
26        android:key="storage_used"
27        android:title="@string/storage_used"
28        android:summary="@string/storage_type_internal"
29        android:selectable="false"
30        android:layout="@layout/horizontal_preference" />
31
32    <com.android.settingslib.widget.LayoutPreference
33        android:key="change_storage_button"
34        android:selectable="false"
35        android:layout="@layout/single_button_panel" />
36
37    <PreferenceCategory
38        android:key="storage_category"
39        android:title="@string/app_info_storage_title">
40
41        <Preference
42            android:key="app_size"
43            android:title="@string/application_size_label"
44            android:selectable="false"
45            android:layout="@layout/horizontal_preference" />
46
47        <Preference
48            android:key="data_size"
49            android:title="@string/data_size_label"
50            android:selectable="false"
51            android:layout="@layout/horizontal_preference" />
52
53        <Preference
54            android:key="cache_size"
55            android:title="@string/cache_size_label"
56            android:selectable="false"
57            android:layout="@layout/horizontal_preference" />
58
59        <Preference
60            android:key="total_size"
61            android:title="@string/total_size_label"
62            android:selectable="false"
63            android:layout="@layout/horizontal_preference" />
64
65        <com.android.settings.applications.SpacePreference
66            android:layout_height="8dp" />
67
68    </PreferenceCategory>
69
70    <PreferenceCategory
71        android:key="uri_category"
72        android:layout="@layout/preference_category_no_label"
73        settings:allowDividerAbove="false"
74        settings:allowDividerBelow="false">
75        <com.android.settingslib.widget.LayoutPreference
76            android:key="clear_uri_button"
77            android:layout="@layout/single_button_panel"
78            android:selectable="false" />
79    </PreferenceCategory>
80
81</PreferenceScreen>
82