2012年5月6日
摘要: 一.Activity中与ListActivity中使用listview区别(本身没多大区别,只是ListActivity在listview的显示上做了一些优化)Activity中使用Listview步骤:1.xml布局中,ListView标签id可以任意取值如:<ListView android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/listview" />2.程序中通过findViewById获取该 阅读全文
posted @ 2012-05-06 22:47 alex_wongh 阅读(12095) 评论(2) 推荐(1) 编辑