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