* commit '363f0d9fd92129c07d769e43fbc9b46dacc01a3b': Sync ViewOverlay size init with RenderNode
This commit is contained in:
@@ -130,8 +130,11 @@ public class ViewOverlay {
|
||||
super(context);
|
||||
mHostView = hostView;
|
||||
mAttachInfo = mHostView.mAttachInfo;
|
||||
|
||||
mRight = hostView.getWidth();
|
||||
mBottom = hostView.getHeight();
|
||||
// pass right+bottom directly to RenderNode, since not going through setters
|
||||
mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom);
|
||||
}
|
||||
|
||||
public void add(Drawable drawable) {
|
||||
|
||||
Reference in New Issue
Block a user