还原了多进程小地图方案,原因是LayoutInflater.from(this).cloneInContext(this)没有起到作用

This commit is contained in:
董宏宇
2020-12-24 17:20:01 +08:00
parent 7653f28a54
commit 6c32317421
6 changed files with 161 additions and 44 deletions

View File

@@ -80,6 +80,14 @@ public class RoundLayout extends RelativeLayout implements IMogoSkinCompatSuppor
super.draw(canvas);
}
@Override
public void setBackgroundResource(int resId) {
super.setBackgroundResource(resId);
if (mBackgroundTintHelper != null) {
mBackgroundTintHelper.onSetBackgroundResource(resId);
}
}
@Override
public void applySkin() {
if (mBackgroundTintHelper != null) {