71 lines
4.0 KiB
XML
71 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/profiles_and_accounts_settings_title"
|
|
android:key="@string/psk_profile_details">
|
|
<com.android.car.settings.common.EntityHeaderPreference
|
|
android:key="@string/pk_profile_details_header"
|
|
android:selectable="false"
|
|
settings:controller="com.android.car.settings.profiles.ProfileDetailsHeaderPreferenceController"
|
|
settings:searchable="false"/>
|
|
<com.android.car.settings.common.ActionButtonsPreference
|
|
android:key="@string/pk_profile_details_action_buttons"
|
|
settings:controller="com.android.car.settings.profiles.ProfileDetailsActionButtonsPreferenceController"
|
|
settings:searchable="false"/>
|
|
<com.android.car.settings.common.LogicalPreferenceGroup
|
|
android:key="@string/pk_account_group"
|
|
settings:controller="com.android.car.settings.accounts.AccountGroupPreferenceController">
|
|
<PreferenceCategory
|
|
android:key="@string/pk_account_list"
|
|
android:title="@string/account_list_title"
|
|
settings:controller="com.android.car.settings.accounts.AccountListPreferenceController"
|
|
settings:searchable="false"/>
|
|
<com.android.car.ui.preference.CarUiPreference
|
|
android:key="@string/pk_account_settings_add"
|
|
android:title="@string/user_add_account_menu"
|
|
android:icon="@drawable/ic_add"
|
|
settings:controller="com.android.car.settings.accounts.AddAccountPreferenceController"
|
|
settings:showChevron="false"/>
|
|
<com.android.car.settings.common.DividerPreference/>
|
|
<SwitchPreference
|
|
android:key="@string/pk_account_auto_sync"
|
|
android:title="@string/account_auto_sync_title"
|
|
android:summary="@string/account_auto_sync_summary"
|
|
settings:controller="com.android.car.settings.accounts.AccountAutoSyncPreferenceController"/>
|
|
<com.android.car.settings.common.DividerPreference/>
|
|
<com.android.car.settings.common.LogicalPreferenceGroup
|
|
android:key="@string/pk_accounts_extra_settings"
|
|
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
|
|
<intent android:action="com.android.settings.action.EXTRA_SETTINGS">
|
|
<extra android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.accounts"/>
|
|
</intent>
|
|
</com.android.car.settings.common.LogicalPreferenceGroup>
|
|
</com.android.car.settings.common.LogicalPreferenceGroup>
|
|
<com.android.car.ui.preference.CarUiPreference
|
|
android:key="@string/pk_profile_details_delete"
|
|
android:title="@string/delete_this_profile_text"
|
|
settings:controller="com.android.car.settings.profiles.ProfileDetailsDeletePreferenceController"
|
|
settings:showChevron="false"/>
|
|
<com.android.car.ui.preference.CarUiPreference
|
|
android:key="@string/pk_profile_details_end_session"
|
|
android:title="@*android:string/global_action_logout"
|
|
settings:controller="com.android.car.settings.profiles.ProfileDetailsEndSessionPreferenceController"
|
|
settings:showChevron="false"/>
|
|
</PreferenceScreen>
|