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:
@@ -312,6 +312,16 @@
|
||||
<item>600</item>
|
||||
</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 -->
|
||||
<string-array name="ambient_notification_color_mode_entries" translatable="false">
|
||||
<item>@string/ambient_notification_color_mode_accent</item>
|
||||
|
||||
@@ -432,5 +432,8 @@
|
||||
<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_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>
|
||||
|
||||
@@ -69,4 +69,12 @@
|
||||
android:key="ambient_notification_light_color"
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user