mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
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
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
|
||||
super.onLayout(changed, left, top, right, bottom);
|
||||
|
||||
mRecentsView.getTaskSize(mTempRect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user