ListView和Adapter
ListView控件和Adapter 这次的作业是利用ListView和自定义Adapter完成列表信息的显示,首先 用ListView在XML中定义如下: <ListView android:id="@+id/Listview" android:layout_width="fill_parent" android:layout_height="fill_parent"> </ListView> 另一个listview_xml的布局: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content