先上效果图:
大概的解决思路是:
1、新建个ListView的自营一Item;
2、根据Item需要变化的内容建立个对象;
3、在新建个Adapter继承BaseAdapter
4、操作新建Adapter的getView方法
5、listview.setAdapter(myAdapter);
LisViewItem 的自定义界面
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:layout_width="fill_parent"
android:layout_height="60dip"
android:background="@drawable/app_item_bg"
android:gravity="center_vertical"
android:orientation="horizontal" >
android:id="@+id/item3_apkiv"
android:layout_width="50dip"
android:layout_height="50dip"
android:layout_marginLeft="10dip"
android:background="@drawable/test_icon" />
android:layout_width="wrap_content"