Thursday, November 8, 2012

Re: [android-developers] Contextual Action Bar With Landscape Fragments and Selected Item Highlight

On Thu, Nov 1, 2012 at 8:43 AM, Jim Stewart <jimsis@gmail.com> wrote:
> 1. How would you control the CAB based on Long Holds the way Google are
> doing it?

Don't use CHOICE_MODE_MULTIPLE_MODAL. Start the ActionMode yourself as
you see fit. Here is an example:

https://github.com/commonsguy/cw-omnibus/tree/master/ActionMode/Manual

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Localized Android Question-and-Answer Sites: http://www.andglobe.com

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate