1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2017 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:key="installed_app_detail_settings_screen" 22 settings:initialExpandedChildrenCount="6"> 23 24 <com.android.settingslib.widget.LayoutPreference 25 android:key="header_view" 26 android:layout="@layout/settings_entity_header" 27 android:selectable="false" 28 android:order="-10000" 29 settings:allowDividerBelow="true"/> 30 31 <com.android.settingslib.widget.LayoutPreference 32 android:key="instant_app_buttons" 33 android:layout="@layout/instant_app_buttons" 34 android:selectable="false" 35 android:order="-9999" 36 settings:allowDividerAbove="true" 37 settings:allowDividerBelow="true"/> 38 39 <com.android.settingslib.widget.ActionButtonsPreference 40 android:key="action_buttons" 41 android:order="-9998" /> 42 43 <Preference 44 android:key="notification_settings" 45 android:title="@string/notifications_label" 46 settings:controller="com.android.settings.applications.appinfo.AppNotificationPreferenceController" 47 settings:allowDividerAbove="true"/> 48 49 <com.android.settings.widget.FixedLineSummaryPreference 50 android:key="permission_settings" 51 android:title="@string/permissions_label" 52 android:summary="@string/summary_placeholder" 53 settings:summaryLineCount="1" 54 settings:controller="com.android.settings.applications.appinfo.AppPermissionPreferenceController" /> 55 56 <Preference 57 android:key="storage_settings" 58 android:title="@string/storage_settings_for_app" 59 android:summary="@string/summary_placeholder" 60 settings:controller="com.android.settings.applications.appinfo.AppStoragePreferenceController" /> 61 62 <com.android.settings.applications.AppDomainsPreference 63 android:key="instant_app_launch_supported_domain_urls" 64 android:title="@string/app_launch_supported_domain_urls_title" 65 android:selectable="true" 66 settings:controller="com.android.settings.applications.appinfo.InstantAppDomainsPreferenceController" /> 67 68 <Preference 69 android:key="data_settings" 70 android:title="@string/data_usage_app_summary_title" 71 android:summary="@string/summary_placeholder" 72 settings:controller="com.android.settings.applications.appinfo.AppDataUsagePreferenceController" /> 73 74 <Preference 75 android:key="time_spent_in_app" 76 android:title="@string/time_spent_in_app_pref_title" 77 settings:controller="com.android.settings.applications.appinfo.TimeSpentInAppPreferenceController" /> 78 79 <Preference 80 android:key="battery" 81 android:title="@string/power_usage_summary_title" 82 android:summary="@string/summary_placeholder" /> 83 84 <Preference 85 android:key="preferred_settings" 86 android:title="@string/launch_by_default" 87 android:summary="@string/summary_placeholder" 88 android:selectable="true" 89 settings:controller="com.android.settings.applications.appinfo.AppOpenByDefaultPreferenceController" /> 90 91 <Preference 92 android:key="memory" 93 android:title="@string/memory_settings_title" 94 android:summary="@string/summary_placeholder" 95 android:enabled="false" /> 96 97 <!-- Default apps shortcuts --> 98 <Preference 99 android:key="default_home" 100 android:title="@string/home_app" 101 android:summary="@string/summary_placeholder" /> 102 103 <Preference 104 android:key="default_browser" 105 android:title="@string/default_browser_title" 106 android:summary="@string/summary_placeholder" /> 107 108 <Preference 109 android:key="default_phone_app" 110 android:title="@string/default_phone_title" 111 android:summary="@string/default_phone_title" /> 112 113 <Preference 114 android:key="default_emergency_app" 115 android:title="@string/default_emergency_app" 116 android:summary="@string/summary_placeholder" /> 117 118 <Preference 119 android:key="default_sms_app" 120 android:title="@string/sms_application_title" 121 android:summary="@string/summary_placeholder" /> 122 123 <!-- Advanced apps settings --> 124 <PreferenceCategory 125 android:key="advanced_app_info" 126 android:title="@string/advanced_apps" 127 settings:controller="com.android.settings.applications.appinfo.AdvancedAppInfoPreferenceCategoryController"> 128 129 <Preference 130 android:key="system_alert_window" 131 android:title="@string/draw_overlay" 132 android:summary="@string/summary_placeholder" 133 settings:controller="com.android.settings.applications.appinfo.DrawOverlayDetailPreferenceController" /> 134 135 <Preference 136 android:key="write_settings_apps" 137 android:title="@string/write_settings" 138 android:summary="@string/summary_placeholder" 139 settings:controller="com.android.settings.applications.appinfo.WriteSystemSettingsPreferenceController" /> 140 141 <Preference 142 android:key="picture_in_picture" 143 android:title="@string/picture_in_picture_app_detail_title" 144 android:summary="@string/summary_placeholder" 145 settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureDetailPreferenceController" /> 146 147 <Preference 148 android:key="install_other_apps" 149 android:title="@string/install_other_apps" 150 android:summary="@string/summary_placeholder" 151 settings:controller="com.android.settings.applications.appinfo.ExternalSourceDetailPreferenceController" /> 152 153 </PreferenceCategory> 154 155 <!-- App installer info --> 156 <PreferenceCategory 157 android:key="app_installer" 158 android:title="@string/app_install_details_group_title" 159 settings:controller="com.android.settings.applications.appinfo.AppInstallerPreferenceCategoryController"> 160 161 <Preference 162 android:key="app_info_store" 163 android:title="@string/app_install_details_title" 164 settings:controller="com.android.settings.applications.appinfo.AppInstallerInfoPreferenceController" /> 165 166 </PreferenceCategory> 167 168 <Preference 169 android:key="app_settings_link" 170 android:title="@string/app_settings_link" 171 settings:controller="com.android.settings.applications.appinfo.AppSettingPreferenceController" 172 settings:allowDividerAbove="true" /> 173 174 <Preference 175 android:key="app_version" 176 android:selectable="false" 177 android:order="9999" 178 settings:controller="com.android.settings.applications.appinfo.AppVersionPreferenceController" 179 settings:allowDividerAbove="true" 180 settings:enableCopying="true"/> 181 182</PreferenceScreen> 183