summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/CustomizePagedView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-10-21 11:55:00 -0700
committerWinson Chung <winsonc@google.com>2010-10-21 14:32:20 -0700
commitef0066b52d2754ca0553ec79613c650b5649afaa (patch)
tree879a087ab89f8a69b8c421f28089a4657e6c2060 /src/com/android/launcher2/CustomizePagedView.java
parentf3ca3ab6958b104cbf2c2fa04add97d372a94d1c (diff)
downloadandroid_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.tar.gz
android_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.tar.bz2
android_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.zip
More spacing changes to Customization Drawer.
Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
Diffstat (limited to 'src/com/android/launcher2/CustomizePagedView.java')
-rw-r--r--src/com/android/launcher2/CustomizePagedView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CustomizePagedView.java b/src/com/android/launcher2/CustomizePagedView.java
index cc21276be..a01f1c083 100644
--- a/src/com/android/launcher2/CustomizePagedView.java
+++ b/src/com/android/launcher2/CustomizePagedView.java
@@ -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