Merge changes from topic "am-ea4e4c26-3457-4f3d-aad6-1b4329729c48" into ub-launcher3-master

* changes:
  [automerger] Not ignoring insets for Clear-all button am: 4473658c2f
  Not ignoring insets for Clear-all button
This commit is contained in:
TreeHugger Robot
2018-04-20 19:45:24 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 3 deletions
@@ -56,7 +56,8 @@ public class RecentsViewContainer extends InsettableFrameLayout {
(mClearAllButton.getMeasuredWidth() - getResources().getDimension(
R.dimen.clear_all_container_width)) / 2);
mClearAllButton.setTranslationY(
mTempRect.top + (mTempRect.height() - mClearAllButton.getMeasuredHeight()) / 2);
mTempRect.top + (mTempRect.height() - mClearAllButton.getMeasuredHeight()) / 2
- mClearAllButton.getTop());
}
@Override