tabhost-在LinearLayout中更改了子级的视图顺序

| 我似乎无法解决我的TabHost布局应该是一个简单问题的问题。我在docs中构造了xml:
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<TabHost xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:id=\"@android:id/tabhost\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\">
 <LinearLayout
    android:orientation=\"vertical\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\">
    <TabWidget android:id=\"@android:id/tabs\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"wrap_content\">
    </TabWidget>
    <FrameLayout android:id=\"@android:id/tabcontent\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\">
        <ListView android:id=\"@+id/favouriteslist\"
        style=\"@style/POITab_Lists\">
        </ListView>
        <ListView android:id=\"@+id/recentlist\"
        style=\"@style/POITab_Lists\">
        </ListView>
</FrameLayout>
</LinearLayout>
</TabHost>
但是我的FrameLayout出现在我的TabWidget之前,排挤了一下: 这在我看来很不寻常-有人有什么想法吗?     
已邀请:
您是说它出现在“层次结构查看器”图形的上方吗?对我来说,这似乎很正常-该实用程序绘制的是视图XML树的层次结构,而不是布局本身。 如果“图形布局”中的所有内容都正常(TabWidget在FrameLayout上方),则您无需担心:)     

要回复问题请先登录注册