android listview and background color
<p>hi am using following xml as my customlistview background</p>

<p>when am click an item it will highlight but it will not persist , it create only a clickable effect ,i want to be highlight a particular item in listview when click</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;!--ON FOCUS --&gt;

&lt;item
 android:state_focused="true"
 android:state_pressed="false"
 android:drawable="@@drawable/appcategoryselectedimg" /&gt;

&lt;!--ON CLICK--&gt;

&lt;item
 android:state_focused="true"
 android:state_pressed="true"
 android:drawable="@@drawable/appcategoryselectedimg" /&gt;

&lt;!--long touch and simple touch and release--&gt;
&lt;item
 android:state_focused="false"
 android:state_pressed="true"
 android:drawable="@@drawable/appcategoryselectedimg" /&gt;

&lt;!--Default --&gt;
&lt;item  
 android:drawable="@color/transperent" /&gt; 
&lt;/selector&gt;
</code></pre>
