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.settings.widget.ActionButtonPreference 23 android:key="header_view" /> 24 25 <com.android.settings.applications.SpacePreference 26 android:key="storage_space" 27 android:layout_height="8dp" /> 28 29 <Preference 30 android:key="storage_used" 31 android:title="@string/storage_used" 32 android:summary="@string/storage_type_internal" 33 android:selectable="false" 34 android:layout="@layout/horizontal_preference" /> 35 36 <com.android.settings.applications.LayoutPreference 37 android:key="change_storage_button" 38 android:selectable="false" 39 android:layout="@layout/single_button_panel" /> 40 41 <PreferenceCategory 42 android:key="storage_category" 43 android:title="@string/app_info_storage_title" 44 settings:allowDividerAbove="false" 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.settings.applications.SpacePreference 72 android:layout_height="8dp" /> 73 74 </PreferenceCategory> 75 76 <PreferenceCategory 77 android:key="uri_category" 78 android:layout="@layout/headerless_preference_category" 79 settings:allowDividerAbove="false" 80 settings:allowDividerBelow="false"> 81 <com.android.settings.applications.LayoutPreference 82 android:key="clear_uri_button" 83 android:layout="@layout/single_button_panel" 84 android:selectable="false" /> 85 </PreferenceCategory> 86 87 </PreferenceScreen> 88