summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-10-26 14:51:44 -0700
committerWinson Chung <winsonc@google.com>2011-10-26 17:00:42 -0700
commit6a877403542c71c1b6228c429bc060755f5f847b (patch)
tree9da44a4a2e16e0adc7f467c1bbc04468a4790f2d /src
parentfaa702dca81afa700dddaa01b2a73774085db515 (diff)
downloadandroid_packages_apps_Trebuchet-6a877403542c71c1b6228c429bc060755f5f847b.tar.gz
android_packages_apps_Trebuchet-6a877403542c71c1b6228c429bc060755f5f847b.tar.bz2
android_packages_apps_Trebuchet-6a877403542c71c1b6228c429bc060755f5f847b.zip
Fixing issue where we were unnecessarily center pages vertically (Bug: 5521605)
- Centering pages vertically have no real effect on the phone as the page height is effectively the size of the container, but on tablets, pages can be significantly smaller to allow tapping the empty space to dismiss it. Change-Id: I2f5117c287df6c5357039696f456d1d9d6c2af57
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/AppsCustomizePagedView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java
index f5142bfa6..4b2081ff0 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -271,7 +271,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
@Override
protected void init() {
super.init();
- mCenterPagesVertically = true;
+ mCenterPagesVertically = false;
Context context = getContext();
Resources r = context.getResources();