summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllAppsTabbed.java
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2010-11-04 16:15:23 -0700
committerAdam Lesinski <adamlesinski@google.com>2010-11-17 10:57:43 -0800
commit6b879f0a5885274a85333531e091283405d490cc (patch)
treeeca43695425abca4fb465919aef7c4b295abc25d /src/com/android/launcher2/AllAppsTabbed.java
parent61033d3d86fcae1f654f3fbfc9979d131e265d76 (diff)
downloadandroid_packages_apps_Trebuchet-6b879f0a5885274a85333531e091283405d490cc.tar.gz
android_packages_apps_Trebuchet-6b879f0a5885274a85333531e091283405d490cc.tar.bz2
android_packages_apps_Trebuchet-6b879f0a5885274a85333531e091283405d490cc.zip
Layout tweaks in Launcher
-Removed All apps and Configure toolbar buttons from Customization Drawer, removed Configure button from All apps and added Market icon to All apps -Changed spacing of CellLayouts when scrolling -Modified gap spacing in workspace layout -Made workspace invisible in All apps but touching the place where the workspace was takes you back to workspace Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
Diffstat (limited to 'src/com/android/launcher2/AllAppsTabbed.java')
-rw-r--r--src/com/android/launcher2/AllAppsTabbed.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllAppsTabbed.java b/src/com/android/launcher2/AllAppsTabbed.java
index a6e21b9d7..0e3246154 100644
--- a/src/com/android/launcher2/AllAppsTabbed.java
+++ b/src/com/android/launcher2/AllAppsTabbed.java
@@ -25,6 +25,7 @@ import android.content.Context;
import android.content.res.Resources;
import android.util.AttributeSet;
import android.util.Log;
+import android.view.MotionEvent;
import android.view.View;
import android.widget.TabHost;
@@ -169,4 +170,12 @@ public class AllAppsTabbed extends TabHost implements AllAppsView {
public void surrender() {
mAllApps.surrender();
}
+
+ @Override
+ public boolean onTouchEvent(MotionEvent ev) {
+ if (ev.getY() > mAllApps.getBottom()) {
+ return false;
+ }
+ return true;
+ }
}