Saturday, June 18, 2011

Re: [android-developers] list view with alpha transparency effect

On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy <romainguy@android.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment