Removed adding image background

This commit is contained in:
M66B 2022-10-21 08:19:59 +02:00
parent 16c9e733df
commit 2c7bfe5e61
1 changed files with 5 additions and 5 deletions

View File

@ -587,11 +587,11 @@ class ImageHelper {
d.setBounds(0, 0, w, h);
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);
}
//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 String getDataUriType(String source) {