Cherish: Ambient Edge Pulse style [2/2]

Co-Authored-By: bezke <1642612+bezke@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
AnkitGourav
2020-02-08 14:36:10 +05:30
committed by Hưng Phan
parent 4b9a97bc10
commit 1ccf151272
3 changed files with 21 additions and 0 deletions

View File

@@ -437,6 +437,16 @@
<item>0</item>
<item>1</item>
</string-array>
<!-- Edge lightning pulse style -->
<string-array name="pulse_ambient_light_layout_entries">
<item>@string/pulse_ambient_light_layout_faded</item>
<item>@string/pulse_ambient_light_layout_solid</item>
</string-array>
<string-array name="pulse_ambient_light_layout_values" translatable="false">
<item>0</item>
<item>1</item>
</string-array>
<!-- Edge lightning color mode -->
<string-array name="ambient_notification_color_mode_entries" translatable="false">

View File

@@ -647,5 +647,8 @@
<string name="pulse_ambient_light_repeat_direction_title">Light repeat mode</string>
<string name="pulse_ambient_light_repeat_direction_restart">Restart</string>
<string name="pulse_ambient_light_repeat_direction_reverse">Reverse</string>
<string name="pulse_ambient_light_layout_title">Light view</string>
<string name="pulse_ambient_light_layout_solid">Solid</string>
<string name="pulse_ambient_light_layout_faded">Faded</string>
</resources>

View File

@@ -77,4 +77,12 @@
android:summary="%s"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="ambient_light_layout"
android:title="@string/pulse_ambient_light_layout_title"
android:entries="@array/pulse_ambient_light_layout_entries"
android:entryValues="@array/pulse_ambient_light_layout_values"
android:summary="%s"
android:defaultValue="1" />
</PreferenceScreen>