1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 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<!-- Layout for the storage breakdown for a profile of the primary user. --> 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:title="@string/storage_settings"> 22 <com.android.settings.widget.CardPreference 23 android:key="free_up_space" 24 android:order="4" 25 android:title="@string/storage_free_up_space_title" 26 android:summary="@string/storage_free_up_space_summary" 27 settings:controller="com.android.settings.deviceinfo.storage.ManageStoragePreferenceController"/> 28 <!-- Preference order 100~200 are 'ONLY' for storage category preferences below. --> 29 <Preference 30 android:key="pref_public_storage" 31 android:title="@string/storage_files" 32 android:icon="@drawable/ic_folder_vd_theme_24" 33 android:order="100"/> 34 <com.android.settings.deviceinfo.StorageItemPreference 35 android:key="pref_images" 36 android:title="@string/storage_images" 37 android:icon="@drawable/ic_photo_library" 38 android:order="101"/> 39 <com.android.settings.deviceinfo.StorageItemPreference 40 android:key="pref_videos" 41 android:title="@string/storage_videos" 42 android:icon="@drawable/ic_local_movies" 43 android:order="102"/> 44 <com.android.settings.deviceinfo.StorageItemPreference 45 android:key="pref_audio" 46 android:title="@string/storage_audio" 47 android:icon="@drawable/ic_media_stream" 48 android:order="103"/> 49 <com.android.settings.deviceinfo.StorageItemPreference 50 android:key="pref_apps" 51 android:title="@string/storage_apps" 52 android:icon="@drawable/ic_storage_apps" 53 android:order="104"/> 54 <com.android.settings.deviceinfo.StorageItemPreference 55 android:key="pref_games" 56 android:title="@string/storage_games" 57 android:icon="@drawable/ic_videogame_vd_theme_24" 58 android:order="105"/> 59 <com.android.settings.deviceinfo.StorageItemPreference 60 android:key="pref_documents" 61 android:title="@string/storage_documents" 62 android:icon="@drawable/ic_folder_vd_theme_24" 63 android:order="106"/> 64 <com.android.settings.deviceinfo.StorageItemPreference 65 android:key="pref_other" 66 android:title="@string/storage_other" 67 android:icon="@drawable/ic_category_vd_theme_24" 68 android:order="107"/> 69 <com.android.settings.deviceinfo.StorageItemPreference 70 android:key="pref_trash" 71 android:title="@string/storage_trash" 72 android:icon="@drawable/ic_trash_can" 73 android:order="108"/> 74 <!-- Preference order 100~200 are 'ONLY' for storage category 75 preferences that are sorted by size. --> 76 <PreferenceCategory 77 android:key="storage_category_splitter" 78 android:title="@string/storage_system_label" 79 android:order="201" 80 settings:searchable="false"> 81 <com.android.settings.deviceinfo.StorageItemPreference 82 android:key="pref_system" 83 android:title="@string/storage_os_name" 84 android:icon="@drawable/ic_android_vd_theme_24" 85 android:order="202"/> 86 <com.android.settings.deviceinfo.StorageItemPreference 87 android:key="temporary_files" 88 android:title="@string/storage_temporary_files" 89 android:icon="@drawable/ic_database_vd_theme_24" 90 android:order="203"/> 91 </PreferenceCategory> 92 <PreferenceCategory 93 android:key="pref_non_current_users" 94 android:title="@string/storage_other_users" 95 android:order="204" /> 96</PreferenceScreen> 97