Cherish: Add ColorSelectPreference
pulled from Omnilib repo from omnirom for history/authors check https://github.com/omnirom/android_packages_apps_OmniLib/commits/android-10 Change-Id: I5999c551ce0273f5c3b25ff45179a10a9969bbe8
This commit is contained in:
committed by
Hưng Phan
parent
0d3f02daee
commit
e02805e3aa
@@ -613,4 +613,14 @@
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="entries_led_colors" translatable="false">
|
||||
<item>@string/led_color_green</item>
|
||||
<item>@string/led_color_red</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="values_led_colors" translatable="false">
|
||||
<item>#FF00FF00</item>
|
||||
<item>#FFFF0000</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -28,4 +28,10 @@
|
||||
<attr name="ledPreview" format="boolean" />
|
||||
<attr name="alphaSlider" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ColorSelectPreference">
|
||||
<attr name="ledPreview" format="boolean" />
|
||||
<attr name="multiColor" format="boolean" />
|
||||
<attr name="withAlpha" format="boolean" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
|
||||
@@ -16,8 +16,12 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Color Picker -->
|
||||
<dimen name="picker_circle_preview_size">26dp</dimen>
|
||||
<dimen name="oval_notification_size">26dp</dimen>
|
||||
<dimen name="alert_dialog_padding_material">20dp</dimen>
|
||||
<dimen name="color_preference_width">18dip</dimen>
|
||||
<dimen name="color_preference_height">18dip</dimen>
|
||||
|
||||
<dimen name="fod_picker_item_margin">20dp</dimen>
|
||||
<dimen name="fod_picker_item_size">100dp</dimen>
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
<string name="hex_hint">#ff000000</string>
|
||||
<string name="set">Set</string>
|
||||
<string name="color_default">Default</string>
|
||||
<string name="led_color_green">Green</string>
|
||||
<string name="led_color_red">Red</string>
|
||||
|
||||
<!-- Lockscreen battery info indicator -->
|
||||
<string name="lockscreen_battery_info_title">Lockscreen charging info</string>
|
||||
@@ -722,5 +724,9 @@
|
||||
<string name="pulse_custom_div">Bar spacing</string>
|
||||
<string name="pulse_filled_block_size">Block size</string>
|
||||
<string name="pulse_empty_block_size">Block spacing</string>
|
||||
|
||||
<!-- does the device have multi color led support or only
|
||||
a fixed set of led colors -->
|
||||
<bool name="config_has_multi_color_led">true</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user