title: how to change color of android list item on click or selection?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4247385/how-to-change-color-of-listview-items-on-focus-and-on-click">How to change color of ListView items on focus and on click</a>  </p>
  </blockquote>
  
  
  
  <p>friends,</p>
  
  <p>i want to change color on android list item click 
  any one guide me which attribute should i use to achieve this functionality?</p>
  
  <p>actually when user clicks on list item he does not know if it was clicked or not?</p>
  
  <p>here is my code.</p>
  
  <pre><code>&lt;ListView android:id="@+id/android:list" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:drawSelectorOnTop="false"
          android:layout_below="@+id/Tablayoutdesign"
          android:cacheColorHint="#000000"
          android:dividerHeight="1dip"
          android:layout_marginTop="63dip"
          android:layout_marginBottom="40dip"
          /&gt;
  </code></pre>