OSDN Git Service

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