mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
The invisible man
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user