Thanks for the pointers Mark.
S

On Aug 12, 3:16 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Sena Gbeckor-Kove wrote:
> > Thanks for the tip. Can you point me at what I need to be looking up to
> > find the documentation about changing the view inside the Tab?
>
> You don't change the View inside of a tab. You cause the existing View
> to show something else (e.g., use FrameLayout and make one layer VISIBLE
> and another layer GONE, or use ViewFlipper to swap between contents).
>
> You *might* be able to get setContent() to replace the current View by
> passing in another layout ID or TabContentFactory, but I'm skeptical
> this will work.
>
> The tab widget framework in Android is designed for simple stuff. You
> may wish to grab the source code for the relevant classes out of Android
> and make your own version that handles your own scenario.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
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