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:title="@string/profiles_and_accounts_settings_title" 20 android:key="@string/psk_profile_details"> 21 <com.android.car.settings.common.EntityHeaderPreference 22 android:key="@string/pk_profile_details_header" 23 android:selectable="false" 24 settings:controller="com.android.car.settings.profiles.ProfileDetailsHeaderPreferenceController" 25 settings:searchable="false"/> 26 <com.android.car.settings.common.ActionButtonsPreference 27 android:key="@string/pk_profile_details_action_buttons" 28 settings:controller="com.android.car.settings.profiles.ProfileDetailsActionButtonsPreferenceController" 29 settings:searchable="false"/> 30 <com.android.car.settings.common.LogicalPreferenceGroup 31 android:key="@string/pk_account_group" 32 settings:controller="com.android.car.settings.accounts.AccountGroupPreferenceController"> 33 <PreferenceCategory 34 android:key="@string/pk_account_list" 35 android:title="@string/account_list_title" 36 settings:controller="com.android.car.settings.accounts.AccountListPreferenceController" 37 settings:searchable="false"/> 38 <com.android.car.ui.preference.CarUiPreference 39 android:key="@string/pk_account_settings_add" 40 android:title="@string/user_add_account_menu" 41 android:icon="@drawable/ic_add" 42 settings:controller="com.android.car.settings.accounts.AddAccountPreferenceController" 43 settings:showChevron="false"/> 44 <com.android.car.settings.common.DividerPreference/> 45 <SwitchPreference 46 android:key="@string/pk_account_auto_sync" 47 android:title="@string/account_auto_sync_title" 48 android:summary="@string/account_auto_sync_summary" 49 settings:controller="com.android.car.settings.accounts.AccountAutoSyncPreferenceController"/> 50 <com.android.car.settings.common.DividerPreference/> 51 <com.android.car.settings.common.LogicalPreferenceGroup 52 android:key="@string/pk_accounts_extra_settings" 53 settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"> 54 <intent android:action="com.android.settings.action.EXTRA_SETTINGS"> 55 <extra android:name="com.android.settings.category" 56 android:value="com.android.settings.category.ia.accounts"/> 57 </intent> 58 </com.android.car.settings.common.LogicalPreferenceGroup> 59 </com.android.car.settings.common.LogicalPreferenceGroup> 60 <com.android.car.ui.preference.CarUiPreference 61 android:key="@string/pk_profile_details_delete" 62 android:title="@string/delete_this_profile_text" 63 settings:controller="com.android.car.settings.profiles.ProfileDetailsDeletePreferenceController" 64 settings:showChevron="false"/> 65 <com.android.car.ui.preference.CarUiPreference 66 android:key="@string/pk_profile_details_end_session" 67 android:title="@*android:string/global_action_logout" 68 settings:controller="com.android.car.settings.profiles.ProfileDetailsEndSessionPreferenceController" 69 settings:showChevron="false"/> 70</PreferenceScreen> 71