Skip to content

Commit 2f528e2

Browse files
committed
Accept only allowed HTML color codes
Accept only allowed HTML color codes A-F, a-f, 0-9
1 parent 8cea752 commit 2f528e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commons/src/main/res/layout/md_stub_colorchooser_custom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
android:layout_height="wrap_content"
2727
android:layout_marginEnd="2dp"
2828
android:layout_marginRight="2dp"
29+
android:digits="0123456789abcdefABCDEF"
2930
android:text="#"
3031
android:textColor="?android:textColorPrimary"
3132
android:textColorHint="?android:textColorSecondary"
@@ -226,4 +227,4 @@
226227

227228
</RelativeLayout>
228229

229-
</LinearLayout>
230+
</LinearLayout>

0 commit comments

Comments
 (0)