liyqxtu / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

Simple tabs in tabhost/linearlayout fails #203

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select TabHost with width and height fill_parent
2. Add LinearLayout to TabHost with width and height fill_parent
3. Add TabWidget to LinearLayout with width fill_parent and height wrap_content
4. Add FrameLayout toLinearLayout with width and height fill_parent

What is the expected output? What do you see instead?
the FrameLayout to be placed below the TabWidget, but instead the FrameLayout 
is filling the complete LinearLayout (the TabWidget is not visible anymore).
Also when selecting button [generate], the resulting xml lists first the 
FrameLayout and then the TabWidget in the LinearLayout.

What version of the product are you using? On what operating system?
droiddraw-r1b18
Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
Java version: 1.6.0_23
Java home: C:\Program Files\Java\jdk1.6.0_23\jre
Default locale: nl_NL, platform encoding: Cp1252
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"

Please provide any additional information below.
not applicable

Original issue reported on code.google.com by m.v.haas...@gmail.com on 16 Mar 2011 at 11:25

GoogleCodeExporter commented 8 years ago
how can i set a tab in my android activity?i want to do it by frame layout..
please help me..

thanking you,
manoj behera

Original comment by mnj.behe...@gmail.com on 23 Mar 2011 at 5:46