views:

361

answers:

1

I am adding a glow animation effect to a logo. So far, I have managed to get the glow image behind the logo, using a LayeredDrawable, but I can't figure out how to animate it. I have found that AlphaAnimation would achieve the desired effect, but unfortunately I can only apply it on Views, not Drawables. How can I achieve this effect?

A: 

I'm using an Animation on the ImageView displaying the drawable. I think this should be possible in your case too.

Janusz
Unfortunately a layered drawable seems to create a single ImageView. So, if I were to apply the Alpha Animation, then it would apply to both the logo and the glow.
Casebash