diff options
author | Winson Chung <winsonc@google.com> | 2010-10-20 17:49:27 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-10-20 18:39:54 -0700 |
commit | df4b83dd9d6380ab963c62d1f9d1312efc87cb0f (patch) | |
tree | e8fd6a182f7af67fc7779207b4e2fed696f56ce5 /src/com/android/launcher2/PagedView.java | |
parent | bae3d061cc16ad005302b5eec404c4c0bc3a7421 (diff) | |
download | android_packages_apps_Trebuchet-df4b83dd9d6380ab963c62d1f9d1312efc87cb0f.tar.gz android_packages_apps_Trebuchet-df4b83dd9d6380ab963c62d1f9d1312efc87cb0f.tar.bz2 android_packages_apps_Trebuchet-df4b83dd9d6380ab963c62d1f9d1312efc87cb0f.zip |
More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons.
Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
Diffstat (limited to 'src/com/android/launcher2/PagedView.java')
-rw-r--r-- | src/com/android/launcher2/PagedView.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index 39a6af048..4ccc4aeab 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -96,6 +96,8 @@ public abstract class PagedView extends ViewGroup { protected int mPageLayoutPaddingBottom; protected int mPageLayoutPaddingLeft; protected int mPageLayoutPaddingRight; + protected int mPageLayoutWidthGap; + protected int mPageLayoutHeightGap; protected int mCellCountX; protected int mCellCountY; @@ -184,6 +186,10 @@ public abstract class PagedView extends ViewGroup { R.styleable.PagedView_pageLayoutPaddingLeft, 10); mPageLayoutPaddingRight = a.getDimensionPixelSize( R.styleable.PagedView_pageLayoutPaddingRight, 10); + mPageLayoutWidthGap = a.getDimensionPixelSize( + R.styleable.PagedView_pageLayoutWidthGap, -1); + mPageLayoutHeightGap = a.getDimensionPixelSize( + R.styleable.PagedView_pageLayoutHeightGap, -1); a.recycle(); setHapticFeedbackEnabled(false); |