On Mar 14, 9:16 am, skink <psk...@gmail.com> wrote: > FrameLayout frame = findViewById(...) > // little red tint > d = new ColorDrawable(0x40ff0000) > frame.setForeground(d) > > doesn't it work? >
be carefull with ColorDrawable - it supports setAlpha but ignores setColorFilter - if you need to change color use other drawable e.g GradiendDrawable - it has (iirc) setSolidColor or something -- 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