@Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (changed && roundedCorners != null) { roundedCorners.onLayoutChanged(); } }
@Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (mForegroundDelegate != null) { mForegroundDelegate.onLayout(changed, left, top, right, bottom); } }