• 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:key="storage_dashboard_screen"
21    android:title="@string/storage_settings"
22    android:orderingFromXml="false">
23    <com.android.car.developeroptions.deviceinfo.storage.StorageSummaryDonutPreference
24        android:key="pref_summary"
25        android:order="0" />
26    <com.android.car.developeroptions.widget.MasterSwitchPreference
27        android:fragment="com.android.car.developeroptions.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        settings:controller="com.android.car.developeroptions.deviceinfo.storage.AutomaticStorageManagementSwitchPreferenceController" />
35    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
36        android:key="pref_photos_videos"
37        android:title="@string/storage_photos_videos"
38        android:icon="@drawable/ic_photo_library"
39        settings:allowDividerAbove="true"
40        android:order="2" />
41    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
42        android:key="pref_music_audio"
43        android:title="@string/storage_music_audio"
44        android:icon="@drawable/ic_media_stream"
45        android:order="3" />
46    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
47        android:key="pref_games"
48        android:title="@string/storage_games"
49        android:icon="@drawable/ic_videogame_vd_theme_24"
50        android:order="4" />
51    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
52        android:key="pref_movies"
53        android:title="@string/storage_movies_tv"
54        android:icon="@drawable/ic_local_movies"
55        android:order="5" />
56    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
57        android:key="pref_other_apps"
58        android:title="@string/storage_other_apps"
59        android:icon="@drawable/ic_storage_apps"
60        android:order="6" />
61    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
62        android:key="pref_files"
63        android:title="@string/storage_files"
64        android:icon="@drawable/ic_folder_vd_theme_24"
65        android:order="7"
66        settings:keywords="@string/keywords_storage_files"/>
67    <com.android.car.developeroptions.deviceinfo.StorageItemPreference
68        android:key="pref_system"
69        android:title="@string/storage_detail_system"
70        android:icon="@drawable/ic_system_update"
71        android:order="100" />
72    <PreferenceCategory
73        android:key="pref_secondary_users"
74        android:title="@string/storage_other_users"
75        android:order="200" />
76</PreferenceScreen>