Cherish: Add reverse animation direction [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:
@@ -427,6 +427,16 @@
|
|||||||
<item>300</item>
|
<item>300</item>
|
||||||
<item>600</item>
|
<item>600</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Edge lightning restart/reverse animation mode -->
|
||||||
|
<string-array name="pulse_ambient_light_repeat_direction_entries">
|
||||||
|
<item>@string/pulse_ambient_light_repeat_direction_restart</item>
|
||||||
|
<item>@string/pulse_ambient_light_repeat_direction_reverse</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="pulse_ambient_light_repeat_direction_values" translatable="false">
|
||||||
|
<item>0</item>
|
||||||
|
<item>1</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
<!-- Edge lightning color mode -->
|
<!-- Edge lightning color mode -->
|
||||||
<string-array name="ambient_notification_color_mode_entries" translatable="false">
|
<string-array name="ambient_notification_color_mode_entries" translatable="false">
|
||||||
|
|||||||
@@ -644,5 +644,8 @@
|
|||||||
<string name="ambient_notification_light_color_title">Custom color</string>
|
<string name="ambient_notification_light_color_title">Custom color</string>
|
||||||
<string name="pulse_ambient_light_show_always_title">Show always</string>
|
<string name="pulse_ambient_light_show_always_title">Show always</string>
|
||||||
<string name="pulse_ambient_light_show_always_summary">Show lights for all doze events and not just notifications</string>
|
<string name="pulse_ambient_light_show_always_summary">Show lights for all doze events and not just notifications</string>
|
||||||
|
<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>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -68,5 +68,13 @@
|
|||||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||||
android:key="ambient_notification_light_color"
|
android:key="ambient_notification_light_color"
|
||||||
android:title="@string/ambient_notification_light_color_title" />
|
android:title="@string/ambient_notification_light_color_title" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||||
|
android:key="ambient_light_repeat_direction"
|
||||||
|
android:title="@string/pulse_ambient_light_repeat_direction_title"
|
||||||
|
android:entries="@array/pulse_ambient_light_repeat_direction_entries"
|
||||||
|
android:entryValues="@array/pulse_ambient_light_repeat_direction_values"
|
||||||
|
android:summary="%s"
|
||||||
|
android:defaultValue="0" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|||||||
Reference in New Issue
Block a user