mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
More spacing changes to Customization Drawer.
Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
This commit is contained in:
@@ -539,6 +539,7 @@ public class CustomizePagedView extends PagedView
|
||||
layout.setCellCount(mCellCountX, mCellCountY);
|
||||
layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop, mPageLayoutPaddingRight,
|
||||
mPageLayoutPaddingBottom);
|
||||
layout.setGap(mPageLayoutWidthGap, mPageLayoutHeightGap);
|
||||
}
|
||||
|
||||
private void setupWorkspaceLayout() {
|
||||
@@ -557,6 +558,8 @@ public class CustomizePagedView extends PagedView
|
||||
for (int i = 0; i < numPages; ++i) {
|
||||
LinearLayout layout = new PagedViewWidgetLayout(getContext());
|
||||
layout.setGravity(Gravity.CENTER_HORIZONTAL);
|
||||
layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop,
|
||||
mPageLayoutPaddingRight, mPageLayoutPaddingBottom);
|
||||
|
||||
// Temporary change to prevent the last page from being too small (and items bleeding
|
||||
// onto it). We can remove this once we properly fix the fading algorithm
|
||||
|
||||
Reference in New Issue
Block a user