vus520 发表于 2013-1-3 17:01:07

实例教程八:采用ListView实现数据列表显示

实例教程八:采用ListView实现数据列表显示

<div class="postbody"><div id="cnblogs_post_body">不错的帖子:
分享一个Android火焰效果程序
http://www.eoeandroid.com/thread-210395-1-1.html
android 查询工具源代码
http://www.eoeandroid.com/thread-210365-1-1.html
Android在线音乐播放器
http://www.eoeandroid.com/thread-210352-1-1.html
-------------------正文--------------------------
原文链接:http://www.eoeandroid.com/thread-201372-1-1.html
继上一章的数据,继续添加内容
item.xml
<div class="cnblogs_code"><?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="horizontal" >    <TextView      android:id="@+id/txtName"      android:layout_width="120dp"      android:layout_height="wrap_content"      android:text="xxxxx" />    <TextView      android:id="@+id/txtPhone"      android:layout_width="150dp"      android:layout_height="wrap_content"      android:text="xxxxx" />    <TextView      android:id="@+id/txtAmount"      android:layout_width="fill_parent"      android:layout_height="wrap_content"      android:text="2000" /></LinearLayout>
页: [1]
查看完整版本: 实例教程八:采用ListView实现数据列表显示