| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <PreferenceScreen | 6 <PreferenceScreen |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:app="http://schemas.android.com/apk/res-auto" | 8 xmlns:app="http://schemas.android.com/apk/res-auto" |
| 9 android:orderingFromXml="false"> | 9 android:orderingFromXml="false"> |
| 10 | 10 |
| 11 <PreferenceCategory | 11 <PreferenceCategory |
| 12 android:title="@string/account_management_title" | 12 android:title="@string/account_management_title" |
| 13 android:order="0" /> | 13 android:order="0" /> |
| 14 | 14 |
| 15 <!-- The summary is set programmatically (the exact value depends on whether
modifying | |
| 16 accounts is allowed). --> | |
| 17 <org.chromium.chrome.browser.preferences.ChromeSwitchPreference | |
| 18 android:key="sign_out_switch" | |
| 19 android:order="1" | |
| 20 app:dontUseSummaryAsTitle="true" /> | |
| 21 <org.chromium.chrome.browser.preferences.TextMessagePreference | |
| 22 android:key="sign_in_child_message" | |
| 23 android:title="@string/sign_in_accounts_message_child" | |
| 24 android:order="2" /> | |
| 25 | |
| 26 <!-- Google accounts will be inserted here, using order values starting at 1
00 --> | 15 <!-- Google accounts will be inserted here, using order values starting at 1
00 --> |
| 27 | 16 |
| 28 <org.chromium.chrome.browser.preferences.ChromeBasePreference | 17 <org.chromium.chrome.browser.preferences.ChromeBasePreference |
| 29 android:key="add_account" | 18 android:key="add_account" |
| 30 android:icon="@drawable/plus" | 19 android:icon="@drawable/add_circle_blue" |
| 31 android:order="1000" /> | 20 android:order="1000" /> |
| 32 | 21 |
| 33 <PreferenceCategory | 22 <PreferenceCategory |
| 34 android:key="not_you" | |
| 35 android:order="1001" /> | |
| 36 <org.chromium.chrome.browser.preferences.ChromeBasePreference | |
| 37 android:key="go_incognito" | |
| 38 android:title="@string/account_management_go_incognito_text" | |
| 39 android:icon="@drawable/account_management_incognito" | |
| 40 android:order="1002" /> | |
| 41 | |
| 42 <PreferenceCategory | |
| 43 android:key="parental_settings" | 23 android:key="parental_settings" |
| 44 android:title="@string/account_management_parental_settings" | 24 android:title="@string/account_management_parental_settings" |
| 45 android:order="1003" /> | 25 android:order="1001" /> |
| 46 <Preference | 26 <Preference |
| 47 android:key="parent_accounts" | 27 android:key="parent_accounts" |
| 48 android:order="1004" /> | 28 android:order="1002" /> |
| 49 <Preference | 29 <Preference |
| 50 android:key="child_content" | 30 android:key="child_content" |
| 51 android:title="@string/account_management_child_content_title" | 31 android:title="@string/account_management_child_content_title" |
| 52 android:order="1005" /> | 32 android:order="1003" /> |
| 53 <Preference | 33 <Preference |
| 54 android:key="child_safe_sites" | 34 android:key="child_safe_sites" |
| 55 android:title="@string/account_management_child_safe_sites_title" | 35 android:title="@string/account_management_child_safe_sites_title" |
| 56 android:order="1006" /> | 36 android:order="1004" /> |
| 37 |
| 38 <org.chromium.chrome.browser.preferences.SyncPreference |
| 39 android:key="sync_settings" |
| 40 android:title="@string/sign_in_sync" |
| 41 android:order="1005"/> |
| 42 |
| 43 <Preference |
| 44 android:key="sign_out" |
| 45 android:title="@string/account_management_sign_out" |
| 46 android:order="1006"/> |
| 57 | 47 |
| 58 </PreferenceScreen> | 48 </PreferenceScreen> |
| OLD | NEW |