aboutsummaryrefslogtreecommitdiff
path: root/configpanel/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'configpanel/res/xml')
-rw-r--r--configpanel/res/xml/button_panel.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/configpanel/res/xml/button_panel.xml b/configpanel/res/xml/button_panel.xml
new file mode 100644
index 0000000..43f4902
--- /dev/null
+++ b/configpanel/res/xml/button_panel.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The CyanogenMod Project
+ (C) 2017 The LineageOS Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreference
+ android:key="button_swap"
+ android:title="@string/button_swap_title"
+ android:summary="@string/button_swap_summary" />
+
+ <PreferenceCategory
+ android:key="fp_key"
+ android:title="@string/fingerprint_title" >
+
+ <SwitchPreference
+ android:key="fp_home"
+ android:title="@string/fingerprint_as_home_title"
+ android:summary="@string/fingerprint_as_home_summary" />
+
+ <SwitchPreference
+ android:key="fp_wakeup"
+ android:title="@string/fingerprint_wakeup_title"
+ android:summary="@string/fingerprint_wakeup_summary" />
+
+ <SwitchPreference
+ android:key="fp_pocketmode"
+ android:title="@string/fingerprint_pocketmode_title"
+ android:summary="@string/fingerprint_pocketmode_summary"
+ android:dependency="fp_wakeup" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>