Hi, According to this page: http://developer.android.com/guide/topics/ui/menus.html#context-menu, Contextual Action Mode is preferred when working on Honeycomb or higher. This is actually very useful when you can apply the same kind of action to several items at a time (eg: delete). But some actions actually only make sense on one item at a time (eg: Edit). If you have only one of these actions, well, you can simply use the single click for it. So: One click = edit Select multiple items = action mode with actions that apply to many items
An example of that is the Gmail app: one click = read the email and selecting many items, you can mark them as read, delete them, etc. OK, but what if you have multiple actions that can only a apply to one item at a time? Imagine the following situation. You have a list of profiles.You can do the following actions on the profiles: - delete - export (save in a file) - share These actions could be applied to many items at a time, so you place them in the action mode. But other actions could be: - edit - apply You can only edit or apply one profile at a time. So, in that case, is it OK to continue using floating menus like this: One single click or long-click opens a floating menu with available options on that particular item alone (edit, apply, delete, export, share). Selecting multiple items activates the action mode with actions that apply to all the selected items (delete, export, share) Or maybe is it better to keep using action mode only? When one item is selected, all actions are available (edit, apply, delete, export, share) When more than one item are selected, the actions edit and apply are disabled/removed from the action bar. Both methods can work of course and it could be up to the developer to choose but what would be best practice? Thanks!! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en