Add to your listview in the xml file: android:cacheColornt="#00000000 or in your Java code: getListView(). SetCacheColor.
Add to your listview in the xml file: android:cacheColornt="#00000000" or in your Java code: getListView(). SetCacheColor.
Thank you very much! I need this getListView(). SetCacheColor btw thank you everybody for your answers ;) – fran Sep 22 at 14:47.
Follow the instructions on this link: Android Developer Ressources: Listview Backgrounds In short: ...To fix this issue, all you have to do is either disable the cache color hint optimization, if you use a non-solid color background, or set the hint to the appropriate solid color value. You can do this from code (see setCacheColornt(int)) or preferably from XML, by using the android:cacheColor To disable the optimization, simply use the transparent color #00000000. The following screenshot shows a list with android:cacheColornt="#00000000" set in the XML layout file ...
Write this one in your xml you will get the answer android:scrollingCache="false" Accept the answer if it help you. So that other can use it.
In your layout add the above mention code it will work – kumar Sep 22 at 14:48.
I'd just like to point out that there's a more elegant way of expressing #00000000, just use: @android/color/transparent. It's easier to understand if you come back to that code some time later (Yeah, I know that it's just an ARGB number anyway ;-)).
I'm struggling with the ExpandableList View in Android. I'm using the code provided in the apis demo but I don't know how to solve my problem. I got a white background on my view but when I'm scrolling the list it turns black..why?
I don't want this effect...is there a way to change it? Is there a way to customize the list using this code? I'm looking for something like this..Hope you could help me!
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.