I have followed the ApiDemos example in Tabs1 where the tab content is
inflated at runtime with code and a TabActivity is used. Everything
works except when the TabActivity becomes active, I can see the
content of both tabs at the same time overlaying each other. All of
my tab content has fill_parent for height and width, but I thought
FrameLayout is only supposed to show one at a time or that the TabHost
is supposed to control the visibility so only one is shown at a time.
To complicate things, I have expandable lists in each tab content so I
actually have 4 total children to the FrameLayout: {2 expandable list
views for each tab and 2 TextViews which I assign as empty views for
each of the expandable list views when they have no data}
Any ideas?
--
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