I just posted a sample project on my github that demos how to do 
this: https://github.com/emil10001/SimpleActionBarTabs

-John

On Wednesday, February 29, 2012 10:07:42 AM UTC-5, Mark Winchester wrote:
>
> I'm having trouble with the ActionBar and tabs, trying to get the look and 
> feel that I've got in mind.  I want an action bar, at the top, with a 
> couple of Spinners, TextViews, and a button.  Underneath that, I'd like a 
> row of Tabs, and below that the actual content.  The top portion of my 
> ActionBar is coded up, working, and looking how I want it.  I'm struggling 
> with the tab portion, though.  I started out trying to add a TabHost, 
> TabWidget, etc. to the layout, which would appear under the ActionBar.  It 
> seems that all of that functionality is deprecated, and we're supposed to 
> be using the ActionBar for the tabs.  If I can achieve the look that I'm 
> going for, I haven't found a way to do it.  Anybody got any examples of 
> what I'm looking for?  I appreciate any help.
>
> -Mark
>

On Wednesday, February 29, 2012 10:07:42 AM UTC-5, Mark Winchester wrote:
>
> I'm having trouble with the ActionBar and tabs, trying to get the look and 
> feel that I've got in mind.  I want an action bar, at the top, with a 
> couple of Spinners, TextViews, and a button.  Underneath that, I'd like a 
> row of Tabs, and below that the actual content.  The top portion of my 
> ActionBar is coded up, working, and looking how I want it.  I'm struggling 
> with the tab portion, though.  I started out trying to add a TabHost, 
> TabWidget, etc. to the layout, which would appear under the ActionBar.  It 
> seems that all of that functionality is deprecated, and we're supposed to 
> be using the ActionBar for the tabs.  If I can achieve the look that I'm 
> going for, I haven't found a way to do it.  Anybody got any examples of 
> what I'm looking for?  I appreciate any help.
>
> -Mark
>

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