Update overview grid icon sizes and paddings

- Introduced additional page spacign for clear all button to match mocks

Fix: 222664142
Test: Quick switch to last task and immediately enter overview
Test: Dismiss last task in overview grid
Change-Id: I4d2f93d843c50b10051f3fb17027cd06e86707e1
This commit is contained in:
Alex Chau
2022-03-15 19:34:08 +00:00
parent 025bf08e2f
commit 2e48760e97
5 changed files with 35 additions and 11 deletions

View File

@@ -775,7 +775,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
pageScrollChanged = true;
outPageScrolls[i] = pageScroll;
}
childStart += primaryDimension + getChildGap();
childStart += primaryDimension + getChildGap(i, i + delta);
// This makes sure that the space is added after the page, not after each panel
int lastPanel = mIsRtl ? 0 : panelCount - 1;
@@ -799,7 +799,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
return pageScrollChanged;
}
protected int getChildGap() {
protected int getChildGap(int fromIndex, int toIndex) {
return 0;
}