tabhost nested scrollview can not scroll up and down? ? ? ? ?
tabhost the content, the use of a scrollview, when the height does not exceed the height of the phone screen to scroll up and down, how to solve? ? ? Of course, if you have an alternative, you can. . . The code: android: id = "@ + id / mediatabhost" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
1st Floor, hello, you use the wrong of this, ah, are directly connected tabhost scroll up and down the title. Reply: How nobody can return it? ? Csdn so fewer people are now? Reply: tabhost The id should be set up so it .......? android: id = "@ android: id / tabhost" Reply:
No, it is. . . If the Activity inherited from TabActivity so id Andrews built-id, just like you write. If you do not inherit, So id can easily write Reply:
Well ... this is the way, but I have inherited TabActivity Activity wooden Yeah .... And why did you want to pack a LinearLayout outside TabWidget it? Reply:
Well ... this is the way, but I have inherited TabActivity Activity wooden Yeah .... And why did you want to pack a LinearLayout outside TabWidget it?
TabWidget heading can be understood as a tabhost, the latter tabcontent content. After adding LinearLayout, can make the title, content installed vertically order. Specific reason is that I found the following version 3.0 style confusing, so before adding this LinearLayout. Then tabcontent after FrameLayout assembled tab.
Also you do not inherit TabActivity, then use getTabHost id you get to? Reply:
Well ... this is the way, but I have inherited TabActivity Activity wooden Yeah .... And why did you want to pack a LinearLayout outside TabWidget it?
TabWidget heading can be understood as a tabhost, the latter tabcontent content. After adding LinearLayout, can make the title, content installed vertically order. Specific reason is that I found the following version 3.0 style confusing, so before adding this LinearLayout. Then tabcontent after FrameLayout assembled tab.
Also you do not inherit TabActivity, then use getTabHost id you get to?
No comments:
Post a Comment