1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 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 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:settings="http://schemas.android.com/apk/res-auto" 19 android:key="@string/psk_profile_details"> 20 <com.android.car.settings.common.EntityHeaderPreference 21 android:key="@string/pk_profile_details_header" 22 android:selectable="false" 23 settings:controller="com.android.car.settings.profiles.ProfileDetailsHeaderPreferenceController" 24 settings:searchable="false"/> 25 <com.android.car.settings.common.ActionButtonsPreference 26 android:key="@string/pk_profile_details_action_buttons" 27 settings:controller="com.android.car.settings.profiles.ProfileDetailsActionButtonsPreferenceController" 28 settings:searchable="false"/> 29 <com.android.car.settings.common.LogicalPreferenceGroup 30 android:key="@string/pk_account_group" 31 settings:controller="com.android.car.settings.accounts.AccountGroupPreferenceController"> 32 <PreferenceCategory 33 android:key="@string/pk_account_list" 34 android:title="@string/account_list_title" 35 settings:controller="com.android.car.settings.accounts.AccountListPreferenceController" 36 settings:searchable="false"/> 37 <com.android.car.ui.preference.CarUiPreference 38 android:key="@string/pk_account_settings_add" 39 android:title="@string/user_add_account_menu" 40 android:icon="@drawable/ic_add" 41 settings:controller="com.android.car.settings.accounts.AddAccountPreferenceController" 42 settings:showChevron="false"/> 43 <com.android.car.settings.common.DividerPreference/> 44 <SwitchPreference 45 android:key="@string/pk_account_auto_sync" 46 android:title="@string/account_auto_sync_title" 47 android:summary="@string/account_auto_sync_summary" 48 settings:controller="com.android.car.settings.accounts.AccountAutoSyncPreferenceController"/> 49 <com.android.car.settings.common.DividerPreference/> 50 <com.android.car.settings.common.LogicalPreferenceGroup 51 android:key="@string/pk_accounts_extra_settings" 52 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 53 <intent android:action="com.android.settings.action.EXTRA_SETTINGS"> 54 <extra android:name="com.android.settings.category" 55 android:value="com.android.settings.category.ia.accounts"/> 56 </intent> 57 </com.android.car.settings.common.LogicalPreferenceGroup> 58 </com.android.car.settings.common.LogicalPreferenceGroup> 59 <com.android.car.ui.preference.CarUiPreference 60 android:key="@string/pk_profile_details_delete" 61 android:title="@string/delete_this_profile_text" 62 settings:controller="com.android.car.settings.profiles.ProfileDetailsDeletePreferenceController" 63 settings:showChevron="false"/> 64</PreferenceScreen> 65