mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
The invisible man
This commit is contained in:
parent
ceb00f7d91
commit
a955c21b17
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue