On Mar 13, 10:56 pm, skink <[email protected]> wrote: > On Mar 13, 10:37 pm, mot12 <[email protected]> wrote: > > > Yes. I don't believe it either. Maybe I am screwing things up because > > I had some wine (it is past midnight here). But it seems to work and I > > am happy (again, that may be the wine speaking). > > > I also saw that FrameLayout has a method setForeground(Drawable) and > > Drawable has a method setAlpha (and also setColorFilter if that is of > > interest) which sound spot on for my needs. I will investigate more > > and post what I find. > > i didn'n know that FrameLayout has setForeground(Drawable) method. > > it's obviously the best solution for your problem, so remoVe filter > View and set e.g. ColorDrawable to foreground attribute. > thanks for info!
of course you can define it in xml as well by adding e.g. android:foreground="#8000" inside FrameLayout -- 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

