title: Android: ListView item deselected after tap
body: <p>I have a ListView with a pretty standard view for each row - an icon with two labels (source below). I can use the keyboard to select items (which stay selected), but if I tap an item it's selected then deselected. Should it not stay selected? I've tried overriding the onKeyDown and onListItemClick events and just returning super.onKeyDown, but then the app just hangs.</p>
  
  <p>The source of each row is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:padding="5dip"&gt;
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"&gt;
              &lt;ImageView android:id="@+id/icon"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:minWidth="24px"
                         android:maxWidth="24px"
                         android:layout_marginRight="4dip"
                         android:layout_gravity="center_vertical"/&gt;
              &lt;TextView android:id="@+id/name"
                  android:textSize="18dip"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"/&gt;
          &lt;/LinearLayout&gt;
          &lt;TextView android:id="@+id/description"
             android:textSize="12dip"
             android:layout_marginTop="2dip"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>