I would like to change the transparency of a whole View in Android. How can I do that? The View has a nontransparent background.
A:
View.setBackgroundDrawable. Use a ColorDrawable with appropriate alpha value?
Paul Grime
2010-07-14 12:55:35
That is only possible if I use a Color as a background. What if I use a drawable? I could always change the alpha of png that is shown as the background manually but that seems to be a bad solution for some cases.
Janusz
2010-07-14 13:16:50
A:
Maybe this will help you http://stackoverflow.com/questions/2838757/how-to-set-opacity-alpha-for-view-in-android
Mojo Risin
2010-07-14 13:21:21