Cherish: Add Udfps Settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -68,6 +68,19 @@
|
||||
android:entries="@array/lock_screen_custom_clock_face_entries"
|
||||
android:entryValues="@array/lock_screen_custom_clock_face_values" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Udfps options -->
|
||||
<PreferenceCategory
|
||||
android:key="udfps_category"
|
||||
android:title="@string/udfps_category">
|
||||
|
||||
<Preference
|
||||
android:key="udfps_settings"
|
||||
android:title="@string/udfps_settings_title"
|
||||
android:summary="@string/udfps_settings_summary"
|
||||
android:fragment="com.cherish.settings.fragments.Udfps" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
17
res/xml/cherish_settings_udfps.xml
Normal file
17
res/xml/cherish_settings_udfps.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019-2022 The CherishOS Projects
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/udfps_category">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="udfps_haptic_feedback"
|
||||
android:title="@string/udfps_haptic_feedback_title"
|
||||
android:summary="@string/udfps_haptic_feedback_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user