• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Creating custom Animation

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I want to write a xml that represents no xml at all.I have tried doing this

but I am getting some flashy effects.Want to avoid this.Is there a way for setting a xml with no animation.
 
Saloon Keeper
Posts: 5718
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want no animation, why create an animation at all?
 
priyanshi bhardwaj
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:If you want no animation, why create an animation at all?


I am using a library default behaviour in that library is they have a entry and exit animations for view.I want to disable that thing.Library doesn't provide any feature to disable animation.But it definitely provide to customise that entry and exit animation.So I will give them a no animation as entry and exit animation.So I have no animation at all. Library name is FANCYSHOWCASE(for your reference).
 
Tim Moores
Saloon Keeper
Posts: 5718
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds familiar - I think we talked about this before. Setting a null animation didn't work?
 
priyanshi bhardwaj
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:This sounds familiar - I think we talked about this before. Setting a null animation didn't work?

Yes we talked about it but you said I need to figure it out on my own.
I have tried this but it is giving some flashy effects
<translate android:fromXDelta="0"
           android:toXDelta="0"
           android:interpolator="@android:interpolator/decelerate_cubic"
           android:duration="0"/>
 
Tim Moores
Saloon Keeper
Posts: 5718
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not setting the animation to null - have you tried that?
 
priyanshi bhardwaj
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:That's not setting the animation to null - have you tried that?

I didn't get you.Can you tell in detail what you are saying.
 
priyanshi bhardwaj
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

priyanshi bhardwaj wrote:

Tim Moores wrote:That's not setting the animation to null - have you tried that?

I didn't get you.Can you tell in detail what you are saying.

Are you trying to say null animation....I don't know how we write a null animation.
 
Tim Moores
Saloon Keeper
Posts: 5718
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The library we were talking about earlier looks like it supports "null" as a reference to the animation object; in other words, no animation at all.

In fact, a new release of it has come out recently that specifically mentions "Add support to disable enter/exit animations". That sounds like something you should check out.
 
priyanshi bhardwaj
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:The library we were talking about earlier looks like it supports "null" as a reference to the animation object; in other words, no animation at all.

In fact, a new release of it has come out recently that specifically mentions "Add support to disable enter/exit animations". That sounds like something you should check out.


Yes I am aware about it.Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!