Fixing Clear-all button being positioned incorrectly
Positioning used mClearAllButton.getTop(), which wasn't set until first layout. Bug: 72222505 Test: Manual Change-Id: I6f60067fe6446e2359c3598084064f2df0673f47
This commit is contained in:
@@ -75,8 +75,8 @@ public class RecentsViewContainer extends InsettableFrameLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
|
||||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
super.onLayout(changed, left, top, right, bottom);
|
||||||
|
|
||||||
mRecentsView.getTaskSize(mTempRect);
|
mRecentsView.getTaskSize(mTempRect);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user