adag wrote: > Thanks Mark for your reply, > > But my requirement is little different. basically I am changing > listview android:background Color dynamically. As you know that while > list gets prepared every time, first it refers to the > android:cacheColorHint from the cache to draw the list otherwise the > scrolling of list gives a broken color of predefined cache color with > black. Therefore I was looking if I can refer the attribute of > background to the cacheColorHint then changing the background would > not also conflict with the listview background color. > Otherwise I can also use > getListView().setBackgroundResource(R.Color.light_blue); But I am > affraid how to handle the cacheColorHint. > getListView().setCacheColorHint is not working in this case. Other > than using transparent with android:cacheColorHint. > > any light Mark would be wonderful.
If setCacheColorHint() is not working the way it is documented, write up a sample project demonstrating the problem and post it to http://b.android.com with a description. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android 2_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

