tableRowLightBG = tv.data;
theme.resolveAttribute(R.attr.colorPrimary, tv, true);
primary = tv.data;
- theme.resolveAttribute(android.R.color.tab_indicator_text, tv, true);
+ theme.resolveAttribute(R.attr.textColor, tv, true);
defaultTextColor = tv.data;
theme.resolveAttribute(R.attr.colorAccent, tv, true);
accent = tv.data;
if (h < 6) return tupleToColor(c + m, 0 + m, x + m);
throw new IllegalArgumentException(String.format(
- "Unexpected value for h (%d) while converting hsl(%1.2f, %1.2f, %1.2f) to rgb", h,
- hue, saturation, lightness));
+ "Unexpected value for h (%1.3f) while converting hsl(%1.3f, %1.3f, %1.3f) to rgb",
+ h, hue, saturation, lightness));
}
public static @ColorInt