Cherish: Ambient Edge Pulse Layout [2/2]

This commit is contained in:
AnkitGourav
2020-02-08 13:38:25 +07:00
committed by Hưng Phan
parent e6bf39eef8
commit d9e511abe3
3 changed files with 21 additions and 0 deletions

View File

@@ -574,4 +574,15 @@
<item>0</item>
<item>1</item>
</string-array>
<!-- Edge light layout -->
<string-array name="pulse_ambient_light_layout_entries">
<item>@string/pulse_ambient_light_layout_solid</item>
<item>@string/pulse_ambient_light_layout_faded</item>
</string-array>
<string-array name="pulse_ambient_light_layout_values" translatable="false">
<item>0</item>
<item>1</item>
</string-array>
</resources>

View File

@@ -647,5 +647,8 @@
<string name="pulse_ambient_light_repeat_mode_title">Edge Light Animation</string>
<string name="pulse_ambient_light_anim_restart">Restart</string>
<string name="pulse_ambient_light_anim_reverse">Reverse</string>
<string name="pulse_ambient_light_layout_title">Edge Light View</string>
<string name="pulse_ambient_light_layout_solid">Solid</string>
<string name="pulse_ambient_light_layout_faded">Faded</string>
</resources>

View File

@@ -44,6 +44,13 @@
android:dependency="ambient_notification_light_enabled"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="pulse_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:defaultValue="0" />
<PreferenceCategory
android:title="@string/edgelight_left" >