Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion contextual action mode vs. floating menu

Received: by 10.236.191.33 with SMTP id f21mr11673857yhn.36.1349081340947;
        Mon, 01 Oct 2012 01:49:00 -0700 (PDT)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.236.133.84 with SMTP id p60ls10125157yhi.5.gmail; Mon, 01 Oct
 2012 01:47:09 -0700 (PDT)
Received: by 10.236.139.196 with SMTP id c44mr2031370yhj.17.1349081229613;
        Mon, 01 Oct 2012 01:47:09 -0700 (PDT)
Date: Mon, 1 Oct 2012 01:47:07 -0700 (PDT)
From: =?UTF-8?Q?Beno=C3=AEt_Bour=C3=A9?= <benoit.bo...@gmail.com>
To: android-developers@googlegroups.com
Message-Id: <283a9fce-2774-4772-b4a1-993ceb9c8662@googlegroups.com>
Subject: contextual action mode vs. floating menu
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1706_31528783.1349081227798"

------=_Part_1706_31528783.1349081227798
Content-Type: multipart/alternative; 
	boundary="----=_Part_1707_12673336.1349081227798"

------=_Part_1707_12673336.1349081227798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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!!



------=_Part_1707_12673336.1349081227798
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,<div><br></div><div>According to this page:&nbsp;<a href=3D"http://devel=
oper.android.com/guide/topics/ui/menus.html#context-menu">http://developer.=
android.com/guide/topics/ui/menus.html#context-menu</a>, Contextual Action =
Mode is&nbsp;preferred&nbsp;when working on Honeycomb or higher. This is ac=
tually very&nbsp;useful&nbsp;when you can apply the same kind of action to =
several items at a time (eg: delete).</div><div>But some actions actually o=
nly make sense on one item at a time (eg: Edit).</div><div>If you have only=
 one of these actions, well, you can simply use the single click for it. So=
:</div><div>One click =3D edit</div><div>Select multiple items =3D action m=
ode with actions that apply to many items</div><div><br></div><div>An examp=
le of that is the Gmail app: one click =3D read the email and selecting man=
y items, you can mark them as read, delete them, etc.</div><div><br></div><=
div>OK, but what if you have multiple actions that can only a apply to one =
item at a time? Imagine the following situation.&nbsp;</div><div><br></div>=
<div>You have a list of profiles.You can do the following actions on the pr=
ofiles:</div><div><br></div><div>- delete</div><div>- export (save in a fil=
e)</div><div>- share</div><div><br></div><div>These actions could be applie=
d to many items at a time, so you place them in the action mode. But other =
actions could be:</div><div><br></div><div>- edit</div><div>- apply</div><d=
iv><br></div><div>You can only edit or apply one profile at a time.&nbsp;</=
div><div><br></div><div>So, in that case, is it OK to continue using floati=
ng menus like this:</div><div><br></div><div>One&nbsp;single&nbsp;click or =
long-click opens a floating menu with available options on that&nbsp;partic=
ular&nbsp;item alone (edit, apply, delete, export, share).</div><div>Select=
ing multiple items activates the action mode with actions that apply to all=
 the selected items (delete, export, share)</div><div><br></div><div>Or may=
be is it better to keep using action mode only?<br></div><div><br></div><di=
v>When one item is selected, all actions are available (edit, apply, delete=
, export, share)<br></div><div>When more than one item are selected, the ac=
tions edit and apply are disabled/removed from the action bar.</div><div><b=
r></div><div>Both methods can work of course and it could be up to the&nbsp=
;developer&nbsp;to choose but what would be best practice?</div><div><br></=
div><div>Thanks!!</div><div><br></div><div><br></div>
------=_Part_1707_12673336.1349081227798--

------=_Part_1706_31528783.1349081227798--