Not ignoring insets for Clear-all button
When in portrait mode with nav bar on the right , we need the right inset to be applied to the layout. Bug: 72222505 Test: Manual Change-Id: I06ac864097fb3cfb833de3e40921be4e19eb5f54
This commit is contained in:
1 parent
69632a46ab
commit
4473658c2f
2 files changed
+2
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user