| 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"> | |
| 10 | 9 |
| 11 <PreferenceCategory | 10 <PreferenceCategory |
| 12 android:title="@string/account_management_title" | 11 android:key="accounts_category" |
| 13 android:order="0" /> | 12 android:title="@string/account_management_title"/> |
| 14 | |
| 15 <!-- Google accounts will be inserted here, using order values starting at 1
00 --> | |
| 16 | |
| 17 <org.chromium.chrome.browser.preferences.ChromeBasePreference | |
| 18 android:key="add_account" | |
| 19 android:icon="@drawable/add_circle_blue" | |
| 20 android:order="1000" /> | |
| 21 | 13 |
| 22 <Preference | 14 <Preference |
| 23 android:layout="@layout/divider_preference" | 15 android:layout="@layout/divider_preference"/> |
| 24 android:order="1001" /> | |
| 25 | 16 |
| 26 <PreferenceCategory | 17 <PreferenceCategory |
| 27 android:key="parental_settings" | 18 android:key="parental_settings" |
| 28 android:title="@string/account_management_parental_settings" | 19 android:title="@string/account_management_parental_settings"/> |
| 29 android:order="1002" /> | |
| 30 | 20 |
| 31 <org.chromium.chrome.browser.preferences.ChromeBasePreference | 21 <org.chromium.chrome.browser.preferences.ChromeBasePreference |
| 32 android:key="parent_accounts" | 22 android:key="parent_accounts"/> |
| 33 android:order="1003" /> | |
| 34 | 23 |
| 35 <Preference | 24 <Preference |
| 36 android:key="child_content" | 25 android:key="child_content" |
| 37 android:title="@string/account_management_child_content_title" | 26 android:title="@string/account_management_child_content_title"/> |
| 38 android:order="1004" /> | |
| 39 | 27 |
| 40 <Preference | 28 <Preference |
| 41 android:key="child_content_divider" | 29 android:key="child_content_divider" |
| 42 android:layout="@layout/divider_preference" | 30 android:layout="@layout/divider_preference"/> |
| 43 android:order="1005" /> | |
| 44 | 31 |
| 45 <org.chromium.chrome.browser.preferences.SyncPreference | 32 <org.chromium.chrome.browser.preferences.SyncPreference |
| 46 android:key="sync_settings" | 33 android:key="sync_settings" |
| 47 android:title="@string/sign_in_sync" | 34 android:title="@string/sign_in_sync"/> |
| 48 android:order="1006" /> | |
| 49 | 35 |
| 50 <Preference | 36 <Preference |
| 51 android:layout="@layout/divider_preference" | 37 android:layout="@layout/divider_preference"/> |
| 52 android:order="1007" /> | |
| 53 | 38 |
| 54 <Preference | 39 <Preference |
| 55 android:key="google_activity_controls" | 40 android:key="google_activity_controls" |
| 56 android:icon="@drawable/googleg" | 41 android:icon="@drawable/googleg" |
| 57 android:title="@string/sign_in_google_activity_controls" | 42 android:title="@string/sign_in_google_activity_controls" |
| 58 android:summary="@string/sign_in_google_activity_controls_message" | 43 android:summary="@string/sign_in_google_activity_controls_message"/> |
| 59 android:order="1008" /> | |
| 60 | 44 |
| 61 <Preference | 45 <Preference |
| 62 android:layout="@layout/divider_preference" | 46 android:layout="@layout/divider_preference"/> |
| 63 android:order="1009" /> | |
| 64 | 47 |
| 65 <Preference | 48 <Preference |
| 66 android:key="sign_out" | 49 android:key="sign_out" |
| 67 android:title="@string/account_management_sign_out" | 50 android:title="@string/account_management_sign_out"/> |
| 68 android:order="1010" /> | |
| 69 | 51 |
| 70 <Preference | 52 <Preference |
| 71 android:key="sign_out_divider" | 53 android:key="sign_out_divider" |
| 72 android:layout="@layout/divider_preference" | 54 android:layout="@layout/divider_preference"/> |
| 73 android:order="1011" /> | |
| 74 | 55 |
| 75 </PreferenceScreen> | 56 </PreferenceScreen> |
| OLD | NEW |