title: Listview item got highlighted on click (not wanted)
body: <p>I've a TabHost with items and I want that they are only highlighted on click.</p>
  
  <p>I had it before and I changed nothing on the ListViews itself but on the TabHost (and I think that shouldn't matter..)</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="at.htl3r.appmosphere.MainActivity$PlaceholderFragment" &gt;
  
      &lt;TabHost
          android:id="@android:id/tabhost"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_alignParentLeft="true"
          android:layout_alignParentTop="true" &gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical" &gt;
  
              &lt;TabWidget
                  android:id="@android:id/tabs"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content" &gt;
              &lt;/TabWidget&gt;
  
              &lt;FrameLayout
                  android:id="@android:id/tabcontent"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" &gt;
  
                  &lt;ListView
                      android:id="@+id/tab1"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent" &gt;
                  &lt;/ListView&gt;
  
                  &lt;ListView
                      android:id="@+id/tab2"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent" &gt;
                  &lt;/ListView&gt;
  
                  &lt;ListView
                      android:id="@+id/tab3"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent" &gt;
                  &lt;/ListView&gt;
  
                  &lt;ListView
                      android:id="@+id/tab4"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent" &gt;
                  &lt;/ListView&gt;
              &lt;/FrameLayout&gt;
          &lt;/LinearLayout&gt;
      &lt;/TabHost&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I read some posts how to disable it, but <a href="https://stackoverflow.com/a/12242564/2715720">I don't want to disable it complete</a> because I'll handle a click action</p>
  
  <p>I tried adding <code>choiceMode="none"</code> and a <code>selector</code></p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;item android:drawable="@color/darkgreen_light" android:state_pressed="true"/&gt;
      &lt;item android:drawable="@android:color/transparent" android:state_activated="true"/&gt;
      &lt;item android:drawable="@android:color/transparent" android:state_checked="true"/&gt;
      &lt;item android:drawable="@android:color/transparent" android:state_selected="true"/&gt;
      &lt;item android:drawable="@android:color/transparent"/&gt;
  
  &lt;/selector&gt;
  </code></pre>
  
  <h1>UPDATE</h1>
  
  <p>better choice: <a href="http://viewpagerindicator.com/" rel="nofollow noreferrer">ViewPagerIndicator</a></p>