Android Question How to make label backgroundimage animation?

ducphu

Active Member
Licensed User
Longtime User
Hi all,

I use an image as my label background. What I want to is to remove the image, i.e change the label background to transparent, and I want it to be animated. Is it possible to do it?
FYI, I'm using NineOldAndroids lib. Can I do it with this lib or I need another lib?
Thank you.
 

ducphu

Active Member
Licensed User
Longtime User
You can put an ImageView behind the label and then call ImageView.SetVisibleAnimated to hide it.

That's a solution. But in my case, I have an array of (8,16) labels. So to do this I will need another array of imageview, which may be wasted of resource. Do we have any direct way to set those properties (scale, alpha, visible, rotation...)? just like we have with position and size
 
Upvote 0
Top