Android ListView with Custom List Selector causing Flickring problem
Posted
by y ramesh rao
on Stack Overflow
See other posts from Stack Overflow
or by y ramesh rao
Published on 2010-04-09T06:25:18Z
Indexed on
2010/04/09
6:33 UTC
Read the original article
Hit count: 1037
android
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.
© Stack Overflow or respective owner