如何在ListView android中将一个项目推送到另一个项目?

时间:2014-06-10 08:04:59

标签: android listview

item.xml

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/listcountry_root_relative"
    android:layout_width="match_parent"
    android:layout_height="150dp">

    <ImageView
        android:id="@+id/listcountry_item_fragment_imageView_background"
        android:layout_width="match_parent"
        android:layout_height="150dp"
        android:scaleType="centerCrop"/>

    <TextView
        android:id="@+id/listcountry_item_fragment_nameCountryTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="test"
        android:textSize="25sp"
        android:textColor="@android:color/darker_gray"
        android:layout_marginLeft="30dp"
        android:layout_marginTop="30dp"/>
</RelativeLayout>
  1. 将一个项目推送到另一个项目?我想我需要覆盖ListView的方法,但我不知道。

  2. 如何对项目进行舍入?

  3. P.S。对不起我的英文

0 个答案:

没有答案
相关问题