哪位大神帮忙看看,只要一滑动listview就会调用调用getView,我的listview和父view都是fill_parent啊 求帮忙!
<?xml version="1.0" encoding="utf-8"?>
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:id="@+id/shop_cat_relativeLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/grey"
android:orientation="vertical" >
<TextView
android:id="@+id/total_textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="15dp"
android:text="共 件商品"
android:textColor="@color/black"
android:textSize="20dip" />
<com.handmark.pulltorefresh.library.PullToRefreshListView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:id="@+id/shop_cat_listView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white"
android:dividerHeight="1dp"
android:fadingEdge="none"
android:fastScrollEnabled="false"
android:footerDividersEnabled="false"
android:headerDividersEnabled="false"
android:smoothScrollbar="true"
android:layout_marginBottom="50dp"
android:cacheColorHint="#00000000"
android:listSelector="#00000000"
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/shop_cat_bottom"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/darkgrey"
android:orientation="horizontal" >
<TextView
android:id="@+id/shop_cat_totalprice"
android:layout_width="200dp"
android:layout_height="fill_parent"
android:layout_margin="15dp"
android:text="合计:¥0.00"
android:textColor="@color/white"
android:textSize="15dp" />
<TextView
android:id="@+id/go_pay"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/red"
android:gravity="center"
android:text="去结算"
android:textColor="@color/white"
android:textSize="15dp" />
</LinearLayout>
</RelativeLayout>