protected override void OnLayout(bool changed, int l, int t, int r, int b) { base.OnLayout(changed, l, t, r, b); InternalLogger.Debug(_tag, () => $"OnLayout( {l}l, {t}t, {r}r, {b}b )"); var children = GetChildAt(1); if (children == null) { return; } _shadowView?.Layout(children.MeasuredWidth, children.MeasuredHeight); }
protected override void OnLayout(bool changed, int l, int t, int r, int b) { base.OnLayout(changed, l, t, r, b); InternalLogger.Debug("Renderer", $"OnLayout( {l}l, {t}t, {r}r, {b}b )"); var children = GetChildAt(1); if (children == null) { return; } InternalLogger.Debug("Renderer", $"this: {GetX()}x, {GetY()}y, {MeasuredWidth}w, {MeasuredHeight}h"); InternalLogger.Debug("Renderer", $"child: {children.GetX()}x, {children.GetY()}y, {children.MeasuredWidth}w, {children.MeasuredHeight}h"); _shadowView?.Layout(MeasuredWidth, MeasuredHeight); }