blob: 8ff4983579b1dc6bc52633ca3b2ae9869fd44c3b [file] [log] [blame]
robertluo81c79bb2020-02-03 14:45:46 +08001<?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
Toby Chuang204fa8a2020-03-24 16:07:13 +080022 <com.android.settingslib.widget.LayoutPreference
23 android:key="nfc_detection_point"
24 android:selectable="false"
25 android:layout="@layout/nfc_detection_point"
26 settings:controller="com.android.settings.nfc.NfcDetectionPointController"/>
27
robertluo81c79bb2020-02-03 14:45:46 +080028 <SwitchPreference
29 android:key="toggle_nfc"
30 android:title="@string/nfc_quick_toggle_title"
31 android:summary="@string/nfc_quick_toggle_summary"
32 settings:controller="com.android.settings.nfc.NfcPreferenceController"/>
33
34 <SwitchPreference
35 android:key="nfc_secure_settings"
36 android:title="@string/nfc_secure_settings_title"
37 settings:controller="com.android.settings.nfc.SecureNfcPreferenceController"
38 android:summary="@string/nfc_secure_toggle_summary"/>
39
40 <Preference
41 android:key="default_payment_app"
42 android:title="@string/nfc_payment_settings_title"
43 android:fragment="com.android.settings.nfc.PaymentSettings"
44 settings:keywords="@string/keywords_default_payment_app"
45 settings:controller="com.android.settings.applications.specialaccess.DefaultPaymentSettingsPreferenceController"/>
Toby Chuang204fa8a2020-03-24 16:07:13 +080046</PreferenceScreen>