The animotion is that a TextView
move from the screen center to its location,at the same time,the size change from zero to normal.
I have knew to use the TranslateAnimation
and the ScaleAnimation
,but I don't know make sure the poist,so I can't let it move from the center to its location.
What shuold I do?
TranslateAnimation translate = new TranslateAnimation(0,(mWidth / 2)- strSize / 2, 0, ((mHeight / 2) - strHeigth));
strHeigth: the TextView heigth;
strSize : the TextView width
mWidth : the screen width;
mHeight : the screeen heigth