No no no no no no no don't do that. You just disabled a *very*
important optimization. You have to set the correct cache color hint.
Read this article to see what the correct solution is:
http://www.curious-creature.org/2008/12/22/why-is-my-list-black-an-android-optimization/

On Wed, Jan 20, 2010 at 5:28 AM, Dave Gracie <david.gra...@gmail.com> wrote:
> Narendra, your a geniusĀ  :)
>
> It works a treat.
>
> Thanks
> Dave
>
>
> 2010/1/20 Narendra Bagade <bagadenaren...@gmail.com>
>>
>> Dave,
>> I got the same problem ,
>> we can remove this using following code snippet.
>>
>> getListView().setAnimationCacheEnabled(
>>
>> false);
>>
>> getListView().setScrollingCacheEnabled(
>>
>> false);
>> use this code in ur listview activity.
>>
>> Narendra bagade
>>
>> On Wed, Jan 20, 2010 at 5:42 PM, Dave Gracie <david.gra...@gmail.com>
>> wrote:
>>>
>>> Hi
>>>
>>> Can anyone help with a problem I have?
>>>
>>> I created an activity (extending a list activity) and have it populating
>>> with a list of peoples names, however when I scroll up or down it
>>> automatically greys out the whole list view until you stop scrolling.
>>>
>>> Is it possible to stop this greying out from happening?
>>>
>>> I have attached an screenshot in case my description doesnt make sense.
>>>
>>> Thanks
>>> Dave
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> Regards,
>>
>> Narendra B
>> 9632382960,
>> Bangalore.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to