[android-developers] Re: Using v4 Fragments with v11 ActionBar tabs
Take a look at the ActionBarSherlock library. It compliments the v4.support library for use with ActionBars. I test the demo on my phone and it works perfectly, its running 2.3.3.
David
On Tuesday, 19 April 2011 11:10:43 UTC-4, Dave Johnston wrote:
I'm having trouble implementing ActionBar tabs whilst also using--
backward-compatible Fragments (with the compatibility package).
The main issue being that ActionBar.TabListener expects
android.app.Fragment, and my Fragment classes inherit from
android.support.v4.app.Fragment. Therefore I can't use my Fragments
with the ActionBar on 3.0-and-later devices.
Anyone have any ideas how I can solve or work around this? (besides
just not using tabs)
-dave
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