tags:

views:

270

answers:

0

I'm setting a selector.xml to the ListView Selector :

<item android:state_focused="false" android:state_selected="true"
    android:state_pressed="true" android:drawable="@drawable/timeline_selected_rect"/>

<item android:state_focused="false" android:state_selected="true"
    android:state_pressed="false" android:drawable="@drawable/timeline_selected_rect"/>

<item android:state_focused="true" android:state_selected="true"
    android:state_pressed="true" android:drawable="@drawable/timeline_selected_rect"/>

but setting this is causing the TextView flickr over selection. this thing is not happening when the Default selector is used... whats wrong with this selector.

I have even added android:cacheColorHint="#00000000" as provided info by some other blogs.