• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:title="@string/nfc_quick_toggle_title">
21
22    <com.android.settingslib.widget.MainSwitchPreference
23        android:key="toggle_nfc"
24        android:title="@string/nfc_main_switch_title"
25        settings:controller="com.android.settings.nfc.NfcPreferenceController"/>
26
27    <com.android.settingslib.widget.IllustrationPreference
28        android:key="nfc_detection_point"
29        settings:searchable="false"
30        settings:lottie_rawRes="@drawable/nfc_detection_point"
31        settings:controller="com.android.settings.nfc.NfcDetectionPointController"/>
32
33    <SwitchPreference
34        android:key="nfc_secure_settings"
35        android:title="@string/nfc_secure_settings_title"
36        settings:controller="com.android.settings.nfc.SecureNfcPreferenceController"
37        android:summary="@string/nfc_secure_toggle_summary"/>
38
39    <Preference
40        android:key="default_payment_app"
41        android:title="@string/nfc_payment_settings_title"
42        android:fragment="com.android.settings.nfc.PaymentSettings"
43        settings:keywords="@string/keywords_default_payment_app"
44        settings:controller="com.android.settings.applications.specialaccess.DefaultPaymentSettingsPreferenceController"/>
45</PreferenceScreen>
46