wood burning stoves 2.0*
The moose likes Android and the fly likes A problem about clearAnimation() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "A problem about clearAnimation() method" Watch "A problem about clearAnimation() method" New topic
Author

A problem about clearAnimation() method

Yi-Ru Cai
Greenhorn

Joined: Jun 01, 2012
Posts: 4
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
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4531
    
    5

Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/android/61752-problem-about-clearanimation.html


luck, db
There are no new questions, but there may be new answers.
Yi-Ru Cai
Greenhorn

Joined: Jun 01, 2012
Posts: 4


Sorry, I didn't notice that
 
Consider Paul's rocket mass heater.
 
subject: A problem about clearAnimation() method