summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/xml/account_settings_preferences.xml
blob: 300331efb528b9ec0e9b2922412db4008760b9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <Preference
        android:key="@string/pref_key_sync_manage_account"
        android:summary="@string/preferences_manage_account_summary"
        android:title="@string/preferences_manage_account" />

    <Preference
        android:key="@string/pref_key_sync_now"
        android:title="@string/preferences_sync_now"
        app:icon="@drawable/mozac_ic_sync_24" />

    <EditTextPreference
        android:key="@string/pref_key_sync_device_name"
        android:title="@string/preferences_sync_device_name" />

    <Preference
        android:key="@string/pref_key_sign_out"
        android:title="@string/preferences_sign_out" />

    <PreferenceCategory
        android:key="@string/preferences_sync_category"
        android:title="@string/preferences_sync_category"
        android:layout="@layout/preference_cat_style">

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_sync_bookmarks"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_bookmarks" />

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_sync_credit_cards"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_credit_cards_2" />

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_sync_history"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_history" />

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_sync_logins"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_logins_2" />

        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_sync_tabs"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_tabs_2"/>

        <!-- The default visibility is 'false' because we don't display this on most channels. -->
        <CheckBoxPreference
            android:defaultValue="true"
            android:visible="false"
            android:key="@string/pref_key_sync_address"
            android:layout="@layout/checkbox_left_preference"
            android:title="@string/preferences_sync_address" />
    </PreferenceCategory>
</PreferenceScreen>