<?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">

    <androidx.preference.PreferenceCategory
        android:layout="@layout/preference_cat_style"
        android:title="@string/preferences_addresses">

        <SwitchPreference
            android:defaultValue="true"
            android:key="@string/pref_key_addresses_save_and_autofill_addresses"
            android:summary="@string/preferences_addresses_save_and_autofill_addresses_summary"
            android:title="@string/preferences_addresses_save_and_autofill_addresses" />
        <Preference
            android:key="@string/pref_key_addresses_manage_addresses"
            android:title="@string/preferences_addresses_manage_addresses" />
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory
        android:layout="@layout/preference_cat_style"
        android:title="@string/preferences_credit_cards">
        <SwitchPreference
            android:defaultValue="true"
            android:key="@string/pref_key_credit_cards_save_and_autofill_cards"
            android:summary="@string/preferences_credit_cards_save_and_autofill_cards_summary"
            android:title="@string/preferences_credit_cards_save_and_autofill_cards" />
        <org.mozilla.fenix.settings.SyncPreference
            android:key="@string/pref_key_credit_cards_sync_cards_across_devices"
            android:title="@string/preferences_credit_cards_sync_cards_across_devices"
            app:singleLineTitle="false" />
        <Preference
            android:key="@string/pref_key_credit_cards_manage_cards"
            android:title="@string/preferences_credit_cards_manage_saved_cards" />
    </androidx.preference.PreferenceCategory>
</PreferenceScreen>
