On Tue, Jul 26, 2011 at 6:13 PM, Zsombor <[email protected]> wrote:
> I'd like to show a different fragment in a TabHost, for every tab. But
> it seems that there's no easy way to do this. TabHost can only accept
> A. Views or B. Intents that launch Activities when the user selects a
> tab.
>

The compatibility library has a sample of how to do this. I didn't have time
to look at in detail, but apparently it's sort of a hack. It does work though.

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