listview item 的布局如下所示:
代码如下所示:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/iv_appIcon"
android:layout_width="0dp"
android:layout_height="65dp"
android:layout_weight="1"
android:contentDescription="@string/Static_iv_appIcon"
android:src="@drawable/default_app_icon" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_weight="3"
android:orientation="vertical" >
<TextView
android:id="@+id/running_progress_tv_app_name"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_marginTop="7dp"
android:text="@string/tv_running_progress_app_name"
android:textSize="23sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_