Ambient Pulse Light: add layout style for top n bottom [2/2]
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
committed by
Hưng Phan
parent
c9bb0bb72d
commit
cdb4dbd267
@@ -593,4 +593,17 @@
|
||||
<item>300</item>
|
||||
<item>600</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Pulse Light Layout style -->
|
||||
<string-array name="pulse_light_layout_style_entries" translatable="false">
|
||||
<item>@string/pulse_light_both</item>
|
||||
<item>@string/pulse_light_top_bottom</item>
|
||||
<item>@string/pulse_light_left_right</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pulse_light_layout_style_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -800,4 +800,10 @@
|
||||
|
||||
<!-- Edge Light -->
|
||||
<string name="pulse_ambient_light_width_title">Light width</string>
|
||||
|
||||
<!-- Pulse Light Layout Style -->
|
||||
<string name="pulse_light_layout_style_title">Light Layout Style</string>
|
||||
<string name="pulse_light_both">All Four Sides</string>
|
||||
<string name="pulse_light_top_bottom">Only Top-Bottom</string>
|
||||
<string name="pulse_light_left_right">Only Left-Right</string>
|
||||
</resources>
|
||||
|
||||
@@ -60,6 +60,14 @@
|
||||
android:title="@string/pulse_ambient_light_color_title"
|
||||
android:defaultValue="0xFFFFFFFF" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="pulse_light_layout_style"
|
||||
android:title="@string/pulse_light_layout_style_title"
|
||||
android:entries="@array/pulse_light_layout_style_entries"
|
||||
android:entryValues="@array/pulse_light_layout_style_values"
|
||||
android:summary="%s"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="ambient_light_layout"
|
||||
android:title="@string/pulse_ambient_light_layout_title"
|
||||
|
||||
Reference in New Issue
Block a user