Cherish: Configurable udfps color

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
spkal01
2022-04-03 17:28:34 +03:00
committed by Hưng Phan
parent eda2ea4ae9
commit 10762bcf05
6 changed files with 235 additions and 5 deletions

View File

@@ -44,6 +44,7 @@
<string name="qs_category">QS category</string>
<string name="navbar_title">Navigation bar</string>
<string name="volume_keys_title">Volume keys</string>
<string name="udfps_category">UDFPS</string>
<!-- General strings -->
<string name="ok">OK</string>
@@ -636,5 +637,9 @@
<string name="custom_fp_icon_summary">Enable custom UDFPS Icon from files</string>
<string name="custom_fp_select_title">Select Custom UDFPS Icon</string>
<string name="custom_fp_select_summary">Select custom image from your saved files or gallery</string>
<!-- UDFPS pressed color -->
<string name="udfps_pressed_color_title">Udfps pressed color</string>
<string name="udfps_pressed_color_summary">Choose your favorite udfps pressed color</string>
</resources>

View File

@@ -44,6 +44,12 @@
android:summary="@string/udfps_recog_animation_effect_summary"
android:fragment="com.cherish.settings.fragments.UdfpsAnimation" />
<Preference
android:key="udfps_pressedicon_picker"
android:title="@string/udfps_pressed_color_title"
android:summary="@string/udfps_pressed_color_summary"
android:fragment="com.cherish.settings.fragments.UdfpsPressedIconPicker" />
</PreferenceCategory>
</PreferenceScreen>