Use this:

http://developer.android.com/reference/android/widget/AbsListView.html#setCacheColorHint(int)

http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint

Note that doing this means that ListView can't use important drawing
optimizations, so on many devices this will cause scrolling to be noticeably
less smooth.

On Sat, Jun 18, 2011 at 10:27 AM, Greg Donald <gdon...@gmail.com> wrote:

> I have a list view using a layout that has a background color of #80000000.
>
> When I scroll the list, the list item background color change to a
> solid color, in this case black.  Seems it's ignoring the alpha
> transparency value on scroll.
>
> Is there a way to make it not do that?
>
>
> Thanks.
>
>
> --
> 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 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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