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
248f5ea1a3
commit
865fb7286f
@@ -593,4 +593,17 @@
|
|||||||
<item>300</item>
|
<item>300</item>
|
||||||
<item>600</item>
|
<item>600</item>
|
||||||
</string-array>
|
</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>
|
</resources>
|
||||||
|
|||||||
@@ -835,4 +835,10 @@
|
|||||||
|
|
||||||
<!-- Edge Light -->
|
<!-- Edge Light -->
|
||||||
<string name="pulse_ambient_light_width_title">Light width</string>
|
<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>
|
</resources>
|
||||||
|
|||||||
@@ -60,6 +60,14 @@
|
|||||||
android:title="@string/pulse_ambient_light_color_title"
|
android:title="@string/pulse_ambient_light_color_title"
|
||||||
android:defaultValue="0xFFFFFFFF" />
|
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
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||||
android:key="ambient_light_layout"
|
android:key="ambient_light_layout"
|
||||||
android:title="@string/pulse_ambient_light_layout_title"
|
android:title="@string/pulse_ambient_light_layout_title"
|
||||||
|
|||||||
Reference in New Issue
Block a user