support: ColorPicker: Add attrs to show/hide reset and preview icons
Change-Id: I74fe69f8facdd28a783b362f801c3e1fbdae7d29
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 3c74b84..8d7665d 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -27,6 +27,8 @@
<!-- Value to pass to callback when restore button is pressed -->
<declare-styleable name="ColorPickerPreference">
<attr name="alphaSlider" format="boolean" />
+ <attr name="showPreview" format="boolean" />
+ <attr name="showReset" format="boolean" />
</declare-styleable>
</resources>