Well, I haven't played with action bar tabs yet, but here are two
sample projects that use custom views in the action bar:

https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBar
https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBarBC

The second one is a bit more complicated but is backwards-compatible
to non-Honeycomb versions of Android.

On Mon, Mar 14, 2011 at 9:45 PM, Tom <[email protected]> wrote:
> I'm attempting to use the 'setCustomView' method of the ActionBar, but
> am unable to load my (very basic) layout. I took a look at the
> Honeycomb-Gallery sample, which also references
> ActionBar.setCustomView. After removing the code which adds the tabs
> to the ActionBar and failing to see the "Hello Action Bar" text from
> that layout file, I'm unconvinced the sample is correct. Is there
> anything I might be missing here?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to