(1) tweened animation
1.alpha
2.scale
(2)frame by frame
1.translate
2.rotate
----------------
Using by two ways:
1.XML
Animation myAnimation= AnimationUtils.loadAnimation(this,R.anim.myanimationxml);
2.Non-XML
Animation myAnimation_Alpha=new AlphaAnimation(0.1f, 1.0f);
Reference from:
http://jjnnykimo.pixnet.net/blog/post/30359165-android-amimation
Here gives more details about Animation.
回覆刪除http://www.moandroid.com/?p=790