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:
@@ -40,6 +40,7 @@ public class AddAdapter extends BaseAdapter {
|
||||
|
||||
public static final int ITEM_SHORTCUT = 0;
|
||||
public static final int ITEM_APPWIDGET = 1;
|
||||
public static final int ITEM_APPLICATION = 2;
|
||||
public static final int ITEM_WALLPAPER = 3;
|
||||
|
||||
/**
|
||||
@@ -69,8 +70,8 @@ public class AddAdapter extends BaseAdapter {
|
||||
// Create default actions
|
||||
Resources res = launcher.getResources();
|
||||
|
||||
mItems.add(new ListItem(res, R.string.group_shortcuts,
|
||||
R.drawable.ic_launcher_shortcut, ITEM_SHORTCUT));
|
||||
mItems.add(new ListItem(res, R.string.group_applications,
|
||||
R.drawable.ic_launcher_application, ITEM_APPLICATION));
|
||||
|
||||
mItems.add(new ListItem(res, R.string.group_widgets,
|
||||
R.drawable.ic_launcher_appwidget, ITEM_APPWIDGET));
|
||||
|
||||
Reference in New Issue
Block a user