title: Custom ListView item selection doesn't working
body: <p>There is a problem with item selection in custom ListView.
  There is no checkboxes, so no need in checkable=false. I've tried setup <code>android:focusable="false"</code> and <code>android:focusableInTouchMode="false"</code>. Tried "Draw Selector On Top option". I can see standard touch animation, but items not highlighted.</p>
  
  <p>My ListView definition (activity_main.xml):</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"&gt;
  
  &lt;ListView
      android:id="@+id/listview"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>ListView creating in onCreate of main activity (MainActivity.java):</p>
  
  <pre><code>...
          @Override
          protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          view = (ListView) findViewById(R.id.listview);
          view.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
  
          list = new ArrayList&lt;String&gt;();
  
          currentDirectory = Environment.getExternalStorageDirectory().getAbsolutePath();
  
          adapter = new ArrayAdapter&lt;String&gt;(this, R.layout.listviewitem, R.id.firstLine, list);
          view.setAdapter(adapter);
  
          updateFileList(currentDirectory);
  
          view.setOnItemClickListener(new AdapterView.OnItemClickListener() {
             @Override
             public void onItemClick(AdapterView&lt;?&gt; parent, View parent_view, int position, long id) {
                String listItem = (String) view.getItemAtPosition(position);
                Log.d("Hello", "file: " + listItem);
  
                view.setSelected(true);
  
                File tempFile = new File(currentDirectory + File.separator + listItem);
  
                if (tempFile.isDirectory()) {
                    currentDirectory = currentDirectory + File.separator + listItem;
                    updateFileList(currentDirectory);
                }
             }
          });
      }
  ...
  </code></pre>
  
  <p>R.layout.listviewitem consists of ImageView and two TextViews  (listviewitem.xml)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="?android:attr/listPreferredItemHeight"
      android:background="@drawable/menu_item_background_selector"
      android:padding="6dip" &gt;
  
      &lt;ImageView
          android:id="@+id/icon"
          android:layout_width="wrap_content"
          android:layout_height="fill_parent"
          android:layout_alignParentBottom="true"
          android:layout_alignParentTop="true"
          android:layout_marginRight="6dip"
          android:contentDescription="TODO"
          android:src="@drawable/ic_launcher" /&gt;
  
      &lt;TextView
          android:id="@+id/secondLine"
          android:layout_width="fill_parent"
          android:layout_height="26dip"
          android:layout_alignParentBottom="true"
          android:layout_alignParentRight="true"
          android:layout_toRightOf="@id/icon"
          android:ellipsize="marquee"
          android:singleLine="true"
          android:text="Description"
          android:textSize="12sp" /&gt;
  
      &lt;TextView
          android:id="@+id/firstLine"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_above="@id/secondLine"
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:layout_alignWithParentIfMissing="true"
          android:layout_toRightOf="@id/icon"
          android:gravity="center_vertical"
          android:text="Example application"
          android:textSize="16sp" /&gt;
  
  &lt;/RelativeLayout&gt; 
  </code></pre>
  
  <p>Where selector menu_item_background_selector (menu_item_background_selector.xml):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_activated="true"&gt;&lt;/item&gt;
      &lt;solid android:color="#bfced4"&gt;&lt;/solid&gt;
  &lt;/selector&gt;
  </code></pre>