Questions tagged [animator]

Animator is the superclass for animation classes which provide basic support for Android animations which can be started, ended, and have AnimatorListeners added to them.

Animators where introduced in Android 3.0 (Api Level 11 )to help overcome some short-coming that Animations have.

Animators is superclass for classes which provide basic support for animations which can be started, ended, and have AnimatorListeners added to them.

Unlike Animations, Animators change the physical properties of the objects. This means that if you move a View to a new location, the touch coordinates will be mapped at the new location without any other intervention.

in Animator may refer to an editor tag showing the animation state machine, or to a component of a which uses a Animation Controller to handle the animation associated with it.

226 questions
29
votes
7 answers

Create circular reveal for pre-Lollipop devices (Android)

Is it possible to get this new Animator for pre-Lollipop devices? I am newbie and I am trying to get the java files from its official documentation, but I am really lost, I don't know how to find it, etc.
JavierSegoviaCordoba
  • 6,531
  • 9
  • 37
  • 51
10
votes
2 answers

RecyclerView remove animation bug

I have implemented a RecyclerView where I can add and delete items. I want the added item to be added on the second last position and, whenever I add a new item, the animation runs well. That is, the last item moves downwards, letting space for the…
Daniel Reina
  • 5,764
  • 1
  • 37
  • 50
8
votes
2 answers

Unity Animation Plays In Preview But Not When Playing Game

I made a simple animation for a sword gameobject to constantly slowly move up and down while the player character is standing still. My sword has an Animator component attached: The Animator Controller is also very simple, with this animation…
Blaperile
  • 141
  • 1
  • 1
  • 6
7
votes
2 answers

How to pan animator window in unity?

I cannot find any scrolling options in animator window. There are no scrollbars in animator window and I cannot find any other option for scrolling in animator window, so when I add more states it is hard to select as content cannot fit in window.…
Nain
  • 1,204
  • 1
  • 12
  • 17
7
votes
3 answers

Make ObjectAnimator animation duration independent of global animator duration scale setting in developer options

How can you make ObjectAnimator independent of the "Animator duration scale" developer options setting when constant and unmodifiable speed is critical?
user1612686
  • 168
  • 2
  • 10
6
votes
1 answer

Android ObjectAnimator vs ViewPropertyAnimator

What's the difference between ObjectAnimator and ViewPropertyAnimator changing property value? ObjectAnimator objectAnimator = ObjectAnimator.ofFloat(myObject, "X", 0.0f, 100.0f); I tried myObject.getX() while above objectAnimator is ongoing, and I…
Hwang
  • 206
  • 3
  • 9
6
votes
1 answer

What is an alternative for using com.nineoldandroids library

I want to replace the dependency of com.nineoldandroids library from my project and replace it with an android native library. I am trying to make a project based on this http://www.tutecentral.com/android-swipe-listview/ . However, I don't need…
Roola
  • 137
  • 1
  • 7
5
votes
2 answers

Create Circular Reveal for Pre-Lollipop Devices

First thing's first, this is not the same question as Create circular reveal for pre-Lollipop devices (Android) I am using the library mentioned there to create Circular Reveal, but it doesn't seem to work for…
Rahul Chowdhury
  • 1,110
  • 12
  • 23
4
votes
2 answers

issue using "Any State" in Unity Animator

So, i am making a little 2D game, and in this game the player can snowboard, so, i made the player animator, and i wanted the player to snowboard doesn't matter the state, so i used the "Any State" state to transition the current animation to the…
Nícolas
  • 406
  • 3
  • 8
  • 24
4
votes
1 answer

Animator/AnimatorSet issue on some devices

I have made some tests with the ObjectAnimator class on some devices and everything is OK except for one device : Huawei P8 Lite 2017. On this device, the View "disappears" when the animation starts and "appears" at the end. The issue appears only…
4
votes
2 answers

How to wait for an animation to finished in Unity C#

I want to wait for an animation clip to finish after I set the trigger. private void Start() { anim = GetComponent(); } private IEnumerator Die() { // Play the animation for getting suck in anim.SetTrigger("Shrink") …
BenjaFriend
  • 664
  • 3
  • 13
  • 29
4
votes
2 answers

ValueAnimator for count up effect on Android TextView

I am trying to make a cout-up effect in a TextView for a double value like this: ValueAnimator animator = new ValueAnimator(); animator.setObjectValues(0, 50.5); //double value animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener()…
user5864372
4
votes
1 answer

How to change createCircularReveal() color?

Like the title said, I'm looking a easy way to customize the color used in reveal. I want to use official code if it's possible (avoiding 3rd party libraries). I'm using the usual code: Animator anim = ViewAnimationUtils.createCircularReveal(myView,…
MiguelHincapieC
  • 5,445
  • 7
  • 41
  • 72
4
votes
4 answers

How to add delay between animations

I'm having a trouble with animations in android. I have my animation_char.xml:
LordCommanDev
  • 922
  • 12
  • 38
4
votes
1 answer

GameObject.FindGameObjectWithTag returning (clone)?

im having this problem and its when i use GameObject.FindGameObjectWithTag("red"); it started when i added an animator component to the gameObject its returning red(Clone) when the game object is in the heirarchy as the only gameobject with the…
JRowan
  • 6,824
  • 8
  • 40
  • 59
1
2 3
15 16