You need to set the cache color hint to 0,0,0,0, not 80,0,0,0. And you
still set the background color of your items the way you want.

On Sat, Jun 18, 2011 at 2:59 PM, Greg Donald <[email protected]> wrote:
> On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy <[email protected]> wrote:
>> You need to call setCacheColorHint() on the ListView itself. You need
>> do this only once.
>
> Like this?
>
>    list = (ListView) findViewById( R.id.list );
>    int color = Color.argb( 80, 0, 0, 0 );
>    list.setCacheColorHint( color );
>
> If that's what you meant, it makes it worse.  My list view items never
> even become transparent again after scrolling now.
>
>
>
> --
> Greg Donald
> destiney.com | gregdonald.com
>
> --
> 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
>



-- 
Romain Guy
Android framework engineer
[email protected]

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 [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

Reply via email to