Thanks Mark, shall try it out. Is that example (on git) for 3.0 only
or would it work on pre-honeycombs with the compatibility lib changes?

On Apr 15, 4:00 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Fri, Apr 15, 2011 at 10:47 AM, RS <rajeshs...@gmail.com> wrote:
> > Is the compatibility library expected to help with action bar on pre-
> > honeycombs?
>
> Not much, but you do not really need it.
>
> > Have been trying to get it to work in vain for long.
> > Changed the sample that uses MenuCompat to show action irrespective of
> > room. Still no luck.
> > MenuCompat.setShowAsAction(item, MenuItem.SHOW_AS_ACTION_ALWAYS);
>
> Use menu XML resources and android:showAsAction.
>
> https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBarBC
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

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

Reply via email to