opacity - android.View transparency -
I need to set initial transparency for a textView but I do not know how to do this. On iPhone this alpha can be easily done with the property. I tried to set alpha using alpha alimient but did not do any good work. It just comes back to 100% alpha when it ends.
alpha animation animation = new alpha animation (1, 0.2f); Anim.setDuration (5000); TextView.startAnimation;
Any ideas people?
You can set alpha channels directly into a color value that you assign to TextView. See.
Comments
Post a Comment