android 布局不显示什么原因啊,求大神指导

图片说明

导进eclipse的项目,布局不显示,什么原因啊

因为你上面布局用了match_parent 将下面布局都挤掉了

什么布局?xml一起贴出来看看

```<?xml version="1.0" encoding="utf-8"?>
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>

android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/all_title_bck"
android:text=" 周边商家"
android:textColor="#ffffff"
android:textSize="19sp"
android:gravity="left|center"
/>

    <TextView 
        android:id="@+id/qbl_busmaptolist"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_marginTop="5dip"
        android:layout_marginRight="40dp"
        android:background="@drawable/busmap1"
        />

    <TextView 
        android:id="@+id/busmaptolisttext"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="地图"
        android:textColor="#ffffff"
        android:layout_alignParentRight="true"
        android:layout_marginTop="7dip"
        android:layout_marginRight="5dp"
        />
</RelativeLayout>



<LinearLayout
    android:id="@+id/buslist_item"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal" >


            <Button 
        android:id="@+id/qbl_busname"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="旅游"
        android:layout_weight="1"
        android:background="@drawable/spinner_bag_1"
        />
                 <Button 
        android:id="@+id/qbl_range"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="50公里"
        android:layout_weight="1"
        android:background="@drawable/spinner_bag_2"
        />

                    <Button 
        android:id="@+id/location"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/location"
        android:layout_weight="1"
        android:background="@drawable/spinner_bag_2"
        />
</LinearLayout>
<FrameLayout
          android:layout_width="fill_parent"
            android:layout_height="wrap_content"
     >



    <com.hskj.personclient.widget.PullDownViewQ  
         android:id="@+id/qbl_buslist"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:visibility="gone"
        android:layout_marginBottom="42dp"
        />

android:id="@+id/qbl_bmapsView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:visibility="gone"
/>

        <TextView 
            android:id="@+id/qbl_busnametext"
            android:layout_width="wrap_content"
            android:layout_height="30dp"
            android:background="#cccccc"
            android:text="           "
            android:gravity="center"
            android:paddingLeft="8dp"
            android:paddingRight="8dp"
            android:textSize="16sp"
            android:textColor="#000066"
            android:layout_gravity="bottom|center"
            android:layout_marginBottom="55dp"
            android:visibility="gone"
        />
    <!-- android:visibility="gone" android:background="#ffffff"-->

</FrameLayout>


xml全部复制下吧,这样我弄到xml里面,一塌糊涂,还得我去猜这是什么布局,然后补上啥的,如果一次不能贴出来很多,你分2次啊!

图片说明你把你这个theme贴出来看看

布局显示问题,很好弄啊,看见你有一个framelayout,还有一个自定义view,确定自定义view包名对吗?另外纠正一下,不要使用fill_parent,用match_parent。

你的布局贴出来不完全,原因是由于com.hskj.personclient.widget.PullDownViewQ 这个自定义控件引起的,一般自定义控件很难在xml里面显示,最好
跑起来应用看看