• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A problem about clearAnimation() method

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/android/61752-problem-about-clearanimation.html
 
Yi-Ru Cai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic