Changing long-press-on-workspace behaviour to show Applications & Widgets.

- Disabling tap-on-widgets-to-add in favour of long press

Change-Id: Ia82143b74216a968ab11890cba83a01c4ab72a06
This commit is contained in:
Winson Chung
2011-05-26 12:03:43 -07:00
parent ed4c1f1ead
commit 55b6550e37
6 changed files with 53 additions and 47 deletions

View File

@@ -42,6 +42,13 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
mLayoutInflater = LayoutInflater.from(context);
}
void selectAppsTab() {
setCurrentTabByTag(APPS_TAB_TAG);
}
void selectWidgetsTab() {
setCurrentTabByTag(WIDGETS_TAB_TAG);
}
/**
* Setup the tab host and create all necessary tabs.
*/