More spacing changes to Customization Drawer.

Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
This commit is contained in:
Winson Chung committed 2010-10-21 14:32:20 -07:00
1 parent f3ca3ab695
commit ef0066b52d
6 files changed
+27 -15

No files matched your search

@@ -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