account_settings_preferences.xml (2917B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:app="http://schemas.android.com/apk/res-auto"> 7 8 <Preference 9 android:key="@string/pref_key_sync_manage_account" 10 android:summary="@string/preferences_manage_account_summary" 11 android:title="@string/preferences_manage_account" /> 12 13 <Preference 14 android:key="@string/pref_key_sync_now" 15 android:title="@string/preferences_sync_now" 16 app:icon="@drawable/mozac_ic_sync_24" /> 17 18 <EditTextPreference 19 android:key="@string/pref_key_sync_device_name" 20 android:title="@string/preferences_sync_device_name" /> 21 22 <Preference 23 android:key="@string/pref_key_sign_out" 24 android:title="@string/preferences_sign_out" /> 25 26 <PreferenceCategory 27 android:key="@string/preferences_sync_category" 28 android:title="@string/preferences_sync_category" 29 android:layout="@layout/preference_cat_style"> 30 31 <CheckBoxPreference 32 android:defaultValue="true" 33 android:key="@string/pref_key_sync_bookmarks" 34 android:layout="@layout/checkbox_left_preference" 35 android:title="@string/preferences_sync_bookmarks" /> 36 37 <CheckBoxPreference 38 android:defaultValue="true" 39 android:key="@string/pref_key_sync_credit_cards" 40 android:layout="@layout/checkbox_left_preference" 41 android:title="@string/preferences_sync_credit_cards_2" /> 42 43 <CheckBoxPreference 44 android:defaultValue="true" 45 android:key="@string/pref_key_sync_history" 46 android:layout="@layout/checkbox_left_preference" 47 android:title="@string/preferences_sync_history" /> 48 49 <CheckBoxPreference 50 android:defaultValue="true" 51 android:key="@string/pref_key_sync_logins" 52 android:layout="@layout/checkbox_left_preference" 53 android:title="@string/preferences_sync_logins_2" /> 54 55 <CheckBoxPreference 56 android:defaultValue="true" 57 android:key="@string/pref_key_sync_tabs" 58 android:layout="@layout/checkbox_left_preference" 59 android:title="@string/preferences_sync_tabs_2"/> 60 61 <!-- The default visibility is 'false' because we don't display this on most channels. --> 62 <CheckBoxPreference 63 android:defaultValue="true" 64 android:visible="false" 65 android:key="@string/pref_key_sync_address" 66 android:layout="@layout/checkbox_left_preference" 67 android:title="@string/preferences_sync_address" /> 68 </PreferenceCategory> 69 </PreferenceScreen>