• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="user_and_account_settings_screen"
21    android:title="@string/account_dashboard_title"
22    settings:keywords="@string/keywords_accounts">
23
24    <PreferenceCategory
25        android:key="passwords_category"
26        android:order="10"
27        android:persistent="false"
28        android:title="@string/autofill_passwords"
29        settings:controller="com.android.settings.applications.autofill.PasswordsPreferenceController"
30        settings:keywords="@string/autofill_keywords" />
31
32    <PreferenceCategory
33        android:key="default_service_category"
34        android:order="20"
35        android:title="@string/autofill_app">
36
37        <com.android.settings.widget.GearPreference
38            android:fragment="com.android.settings.applications.defaultapps.DefaultAutofillPicker"
39            android:key="default_autofill_main"
40            android:title="@string/autofill_app"
41            settings:keywords="@string/autofill_keywords">
42            <extra
43                android:name="for_work"
44                android:value="false" />
45        </com.android.settings.widget.GearPreference>
46    </PreferenceCategory>
47
48    <PreferenceCategory
49        android:key="dashboard_tile_placeholder"
50        android:order="130"/>
51
52    <SwitchPreference
53        android:key="auto_sync_account_data"
54        android:title="@string/auto_sync_account_title"
55        android:summary="@string/auto_sync_account_summary"
56        android:order="202"
57        settings:allowDividerAbove="true"/>
58
59    <SwitchPreference
60        android:key="auto_sync_work_account_data"
61        android:title="@string/account_settings_menu_auto_sync_work"
62        android:summary="@string/auto_sync_account_summary"
63        settings:forWork="true"
64        android:order="203"/>
65
66    <SwitchPreference
67        android:key="auto_sync_personal_account_data"
68        android:title="@string/account_settings_menu_auto_sync_personal"
69        android:summary="@string/auto_sync_account_summary"
70        android:order="204"/>
71
72</PreferenceScreen>
73