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 23 <com.android.settingslib.widget.LayoutPreference 24 android:key="header_view" 25 android:layout="@layout/settings_entity_header" 26 android:selectable="false" 27 android:order="-10000" /> 28 29 <com.android.settingslib.widget.LayoutPreference 30 android:key="instant_app_buttons" 31 android:layout="@layout/instant_app_buttons" 32 android:selectable="false" 33 android:order="-9999" /> 34 35 <com.android.settingslib.widget.ActionButtonsPreference 36 android:key="action_buttons" 37 android:order="-9998" /> 38 39 <Preference 40 android:key="app_settings_link" 41 android:title="@string/app_settings_link" 42 settings:controller="com.android.settings.applications.appinfo.AppSettingPreferenceController" /> 43 44 <Preference 45 android:key="all_services_settings" 46 android:title="@string/app_info_all_services_label" 47 android:summary="@string/summary_placeholder" 48 settings:controller="com.android.settings.applications.appinfo.AppAllServicesPreferenceController" /> 49 50 <Preference 51 android:key="notification_settings" 52 android:title="@string/notifications_label" 53 settings:controller="com.android.settings.applications.appinfo.AppNotificationPreferenceController" /> 54 55 <com.android.settings.widget.FixedLineSummaryPreference 56 android:key="permission_settings" 57 android:title="@string/permissions_label" 58 android:summary="@string/summary_placeholder" 59 settings:summaryLineCount="1" 60 settings:controller="com.android.settings.applications.appinfo.AppPermissionPreferenceController" /> 61 62 <Preference 63 android:key="storage_settings" 64 android:title="@string/storage_settings_for_app" 65 android:summary="@string/summary_placeholder" 66 settings:controller="com.android.settings.applications.appinfo.AppStoragePreferenceController" /> 67 68 <com.android.settings.applications.AppDomainsPreference 69 android:key="instant_app_launch_supported_domain_urls" 70 android:title="@string/app_launch_supported_domain_urls_title" 71 android:selectable="true" 72 settings:controller="com.android.settings.applications.appinfo.InstantAppDomainsPreferenceController" /> 73 74 <Preference 75 android:key="data_settings" 76 android:title="@string/data_usage_app_summary_title" 77 android:summary="@string/summary_placeholder" 78 settings:controller="com.android.settings.applications.appinfo.AppDataUsagePreferenceController" /> 79 80 <Preference 81 android:key="time_spent_in_app" 82 android:title="@string/time_spent_in_app_pref_title" 83 android:summary="@string/summary_placeholder" 84 settings:controller="com.android.settings.applications.appinfo.TimeSpentInAppPreferenceController" /> 85 86 <Preference 87 android:key="battery" 88 android:title="@string/battery_details_title" 89 android:summary="@string/summary_placeholder" /> 90 91 <Preference 92 android:key="app_language_setting" 93 android:title="@string/app_locale_preference_title" 94 android:summary="@string/summary_placeholder" 95 settings:controller="com.android.settings.applications.appinfo.AppLocalePreferenceController" /> 96 97 <Preference 98 android:key="preferred_settings" 99 android:title="@string/launch_by_default" 100 android:summary="@string/summary_placeholder" 101 android:selectable="true" 102 settings:controller="com.android.settings.applications.appinfo.AppOpenByDefaultPreferenceController" /> 103 104 <Preference 105 android:key="memory" 106 android:title="@string/memory_settings_title" 107 android:summary="@string/summary_placeholder" 108 android:enabled="false" /> 109 110 <!-- Default apps shortcuts --> 111 <Preference 112 android:key="default_home" 113 android:title="@string/home_app" 114 android:summary="@string/summary_placeholder" /> 115 116 <Preference 117 android:key="default_browser" 118 android:title="@string/default_browser_title" 119 android:summary="@string/summary_placeholder" /> 120 121 <Preference 122 android:key="default_phone_app" 123 android:title="@string/default_phone_title" 124 android:summary="@string/default_phone_title" /> 125 126 <Preference 127 android:key="default_emergency_app" 128 android:title="@string/default_emergency_app" 129 android:summary="@string/summary_placeholder" /> 130 131 <Preference 132 android:key="default_sms_app" 133 android:title="@string/sms_application_title" 134 android:summary="@string/summary_placeholder" /> 135 136 <PreferenceCategory 137 android:key="app_hibernation_info" 138 android:title="@string/unused_apps_category" 139 settings:controller= 140 "com.android.settings.applications.appinfo.AppHibernationPreferenceCategoryController"> 141 142 <SwitchPreferenceCompat 143 android:key="hibernation_switch" 144 android:title="@string/unused_apps_switch" 145 android:summary="@string/unused_apps_switch_summary" 146 settings:controller= 147 "com.android.settings.applications.appinfo.HibernationSwitchPreferenceController" /> 148 </PreferenceCategory> 149 150 <!-- Advanced apps settings --> 151 <PreferenceCategory 152 android:key="advanced_app_info" 153 android:title="@string/advanced_apps" 154 settings:controller="com.android.settings.applications.appinfo.AdvancedAppInfoPreferenceCategoryController"> 155 156 <Preference 157 android:key="system_alert_window" 158 android:title="@string/draw_overlay" 159 android:summary="@string/summary_placeholder" 160 settings:controller="com.android.settings.applications.appinfo.DrawOverlayDetailPreferenceController" /> 161 162 <Preference 163 android:key="write_settings_apps" 164 android:title="@string/write_settings" 165 android:summary="@string/summary_placeholder" 166 settings:controller="com.android.settings.applications.appinfo.WriteSystemSettingsPreferenceController" /> 167 168 <Preference 169 android:key="picture_in_picture" 170 android:title="@string/picture_in_picture_app_detail_title" 171 android:summary="@string/summary_placeholder" 172 settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureDetailPreferenceController" /> 173 174 <Preference 175 android:key="install_other_apps" 176 android:title="@string/install_other_apps" 177 android:summary="@string/summary_placeholder" 178 settings:controller="com.android.settings.applications.appinfo.ExternalSourceDetailPreferenceController" /> 179 180 <Preference 181 android:key="interact_across_profiles" 182 android:title="@string/interact_across_profiles_title" 183 android:summary="@string/summary_placeholder" 184 settings:controller="com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesDetailsPreferenceController" /> 185 186 <Preference 187 android:key="alarms_and_reminders" 188 android:title="@string/alarms_and_reminders_title" 189 android:summary="@string/summary_placeholder" 190 settings:controller="com.android.settings.applications.appinfo.AlarmsAndRemindersDetailPreferenceController" /> 191 192 <Preference 193 android:key="long_background_tasks" 194 android:title="@string/long_background_tasks_title" 195 android:summary="@string/summary_placeholder" 196 settings:isPreferenceVisible="false" 197 settings:searchable="false" 198 settings:controller="com.android.settings.applications.appinfo.LongBackgroundTasksDetailsPreferenceController" /> 199 200 </PreferenceCategory> 201 202 <!-- App installer info --> 203 <PreferenceCategory 204 android:key="app_installer" 205 android:title="@string/app_install_details_group_title" 206 settings:controller="com.android.settings.applications.appinfo.AppInstallerPreferenceCategoryController"> 207 208 <Preference 209 android:key="app_info_store" 210 android:title="@string/app_install_details_title" 211 settings:controller="com.android.settings.applications.appinfo.AppInstallerInfoPreferenceController" /> 212 213 </PreferenceCategory> 214 215 <Preference 216 android:key="app_version" 217 android:selectable="false" 218 android:order="9999" 219 settings:controller="com.android.settings.applications.appinfo.AppVersionPreferenceController" 220 settings:allowDividerAbove="true" 221 settings:enableCopying="true"/> 222 223</PreferenceScreen> 224