The invisible man

pull/189/head
M66B 4 years ago
parent ceb00f7d91
commit a955c21b17

@ -530,7 +530,11 @@ class ImageHelper {
d.setBounds(0, 0, w, h);
//d.setColorFilter(Color.GRAY, PorterDuff.Mode.DST_OVER);
if (view instanceof TextView) {
int tc = ((TextView) view).getCurrentTextColor();
int bg = ColorUtils.setAlphaComponent(tc, Math.round(255 * 0.05f));
d.setColorFilter(bg, PorterDuff.Mode.DST_OVER);
}
}
static Bitmap getDataBitmap(String source) {

Loading…
Cancel
Save