Cherish: FOD pressed colors [2/2]

Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Change-Id: I5e0c34d15820854fc223ea303af2e50c1f633fc8
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Stallix
2021-02-23 08:54:10 +00:00
committed by Hưng Phan
parent 386b007be2
commit b6091cd767
3 changed files with 33 additions and 0 deletions

View File

@@ -1244,4 +1244,21 @@
<item>22</item>
<item>23</item>
</string-array>
<!-- FOD pressed color -->
<string-array name="fod_pressed_color_entries" translatable="false">
<item>@string/fod_pressed_color_white</item>
<item>@string/fod_pressed_color_cyan</item>
<item>@string/fod_pressed_color_green</item>
<item>@string/fod_pressed_color_yellow</item>
<item>@string/fod_pressed_color_light_yellow</item>
</string-array>
<string-array name="fod_pressed_color_values" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
</string-array>
</resources>

View File

@@ -1166,4 +1166,12 @@
<string name="fod_recog_animation_rog_fusion">Asus Fusion</string>
<string name="fod_recog_animation_rog_pulsar">Asus Pulsar</string>
<string name="fod_recog_animation_rog_supernova">Asus Supernova</string>
<!-- FOD pressed color -->
<string name="fod_pressed_color_title">Fingerprint pressed color</string>
<string name="fod_pressed_color_white">White / overlayed</string>
<string name="fod_pressed_color_cyan">Cyan</string>
<string name="fod_pressed_color_green">Green</string>
<string name="fod_pressed_color_yellow">Yellow</string>
<string name="fod_pressed_color_light_yellow">Light Yellow</string>
</resources>

View File

@@ -288,6 +288,14 @@
android:entryValues="@array/fod_recog_animation_values"
android:defaultValue="0"
android:dependency="fod_recognizing_animation" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_color"
android:title="@string/fod_pressed_color_title"
android:summary="%s"
android:entries="@array/fod_pressed_color_entries"
android:entryValues="@array/fod_pressed_color_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fod_gesture"