mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user