File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A problem about clearAnimation() method

 
Yi-Ru Cai
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/android/61752-problem-about-clearanimation.html
 
Yi-Ru Cai
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/android/61752-problem-about-clearanimation.html


Sorry, I didn't notice that
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic