Android Concept | Techbirds

// Alternative of setAlpha() method Used for transperancy(Added in API level 11)is class AlphaAnimation , applicable in lower version of android as well(below API level 11).

Above or at API level 11: We can use setAlpha(float) method.
Below API level 11: We can use the way specified below.

AlphaAnimation animation = new AlphaAnimation(alpha, alpha); animation.setDuration(duration); animation.setFillAfter(true);


445 total views, 1 views today

Share this Onfacebook-9860816twitter-6964028linkedin-4964708google-3972966