aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDVDAndroid <davide.intelligent@gmail.com>2015-12-29 12:18:11 +0100
committerDVDAndroid <davide.intelligent@gmail.com>2015-12-29 12:18:11 +0100
commit2f528e20e03dde858dc45d157363a725d106778f (patch)
treeef8b6cf01ff405d41531a22eca2a7faa9c65ee29
parent8cea752dda4338fb63c4614622ec2d29bcbcc457 (diff)
downloadafollestad-2f528e20e03dde858dc45d157363a725d106778f.tar.gz
Accept only allowed HTML color codes
Accept only allowed HTML color codes A-F, a-f, 0-9
-rw-r--r--commons/src/main/res/layout/md_stub_colorchooser_custom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/commons/src/main/res/layout/md_stub_colorchooser_custom.xml b/commons/src/main/res/layout/md_stub_colorchooser_custom.xml
index eacd7fc..f53302c 100644
--- a/commons/src/main/res/layout/md_stub_colorchooser_custom.xml
+++ b/commons/src/main/res/layout/md_stub_colorchooser_custom.xml
@@ -26,6 +26,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="2dp"
android:layout_marginRight="2dp"
+ android:digits="0123456789abcdefABCDEF"
android:text="#"
android:textColor="?android:textColorPrimary"
android:textColorHint="?android:textColorSecondary"
@@ -226,4 +227,4 @@
</RelativeLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>