I write a little App to make a textview rotate and translate and control the animation by two buttons.
And I use clearAnimation() to stop the animation ,but when I click the stop button , the textview stops and also disappears, is that normal?
What I want to do is when I stop the animation , the textview can go back to the position when the App starts.
If I can't do this function with clearAnimation() mehod , can you give me some hints for how to achieve this function?Thank you very much.
Here is my Activity Code:
and here is my animation XML:
I would approciate it you can help , and hope you can understand my poor English.
Best Regards,thank you