• 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
20    android:title="@string/storage_settings"
21    android:orderingFromXml="false">
22    <com.android.settings.deviceinfo.storage.StorageSummaryDonutPreference
23        android:key="pref_summary"
24        android:order="0" />
25    <com.android.settings.widget.MasterSwitchPreference
26        android:fragment="com.android.settings.deletionhelper.AutomaticStorageManagerSettings"
27        android:key="toggle_asm"
28        android:title="@string/automatic_storage_manager_preference_title"
29        android:icon="@drawable/ic_settings_storage"
30        android:order="1"
31        settings:allowDividerAbove="true"
32        settings:allowDividerBelow="true"/>
33    <com.android.settings.deviceinfo.StorageItemPreference
34        android:key="pref_photos_videos"
35        android:title="@string/storage_photos_videos"
36        android:icon="@drawable/ic_photo_library_vd_theme_24"
37        settings:allowDividerAbove="true"
38        android:order="2" />
39    <com.android.settings.deviceinfo.StorageItemPreference
40        android:key="pref_music_audio"
41        android:title="@string/storage_music_audio"
42        android:icon="@drawable/ic_music_note_vd_theme_24"
43        android:order="3" />
44    <com.android.settings.deviceinfo.StorageItemPreference
45        android:key="pref_games"
46        android:title="@string/storage_games"
47        android:icon="@drawable/ic_videogame_vd_theme_24"
48        android:order="4" />
49    <com.android.settings.deviceinfo.StorageItemPreference
50        android:key="pref_movies"
51        android:title="@string/storage_movies_tv"
52        android:icon="@drawable/ic_theaters_vd_theme_24"
53        android:order="5" />
54    <com.android.settings.deviceinfo.StorageItemPreference
55        android:key="pref_other_apps"
56        android:title="@string/storage_other_apps"
57        android:icon="@drawable/ic_apps_vd_theme_24"
58        android:order="6" />
59    <com.android.settings.deviceinfo.StorageItemPreference
60        android:key="pref_files"
61        android:title="@string/storage_files"
62        android:icon="@drawable/ic_folder_vd_theme_24"
63        android:order="7" />
64    <com.android.settings.deviceinfo.StorageItemPreference
65        android:key="pref_system"
66        android:title="@string/storage_detail_system"
67        android:icon="@drawable/ic_system_update_vd_theme_24"
68        android:order="100" />
69    <PreferenceCategory
70        android:key="pref_secondary_users"
71        android:title="@string/storage_other_users"
72        android:order="200" />
73</PreferenceScreen>