Fixed colors

pull/174/head
M66B 5 years ago
parent 6b277f4ef6
commit 76ade0b1a3

@ -392,7 +392,7 @@ public class HtmlHelper {
Integer color = parseColor(value, dark);
if (color != null) {
// fromHtml does not support transparency
String c = String.format("#%08x", color | 0xFF000000);
String c = String.format("#%06x", color);
sb.append("color:").append(c).append(";");
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N)
element.attr("color", c);

Loading…
Cancel
Save