获取到的应该显示的数据都可以打印出来,但是界面上只有时间显示了出来,其他数据都
没有显示出来,查看布局也没发现哪儿的问题,希望各位帮帮忙喽!
item的数据未显示部分布局如下:
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/rellay0"
android:orientation="horizontal" >
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1.0" >
<TextView
android:id="@+id/counpond_shop"
style="@style/text_yahei_18sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
android:singleLine="true"
android:text="14549885" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/counpond_shop"
android:layout_centerHorizontal="true" >
<TextView
android:id="@+id/text_fu"
style="@style/text_meihong_18sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="35dp"
android:layout_marginTop="10dp"
android:text="¥" />
<TextView
android:id="@+id/coupond_money"
style="@style/text_meihong_30sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@id/text_fu" />
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1.0" >
<TextView
android:id="@+id/coupond_price_limit"
style="@style/text_hei_14sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="8dp" />
<TextView
android:id="@+id/coupond_name"
style="@style/text_hei_14sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:padding="5dp" />
</RelativeLayout>
</LinearLayout>