Questions tagged [nineoldandroids]

Android library for using the Honeycomb (Android 3.0) animation API on all versions of the platform back to 1.0

Animation prior to Honeycomb was very limited in what it could accomplish so in Android 3.x a new API was written. With only a change in imports, we are able to use a large subset of the new-style animation with exactly the same API.

This library also includes support for animating rotation, translation, alpha, and scale on platforms prior to Honeycomb

60 questions
2
votes
1 answer

Nineoldandroids NullPointerException in AnimatorProxy with Robolectric

The view I'm testing has animation and it seems to go quite wrong when I test with Robolectric. The animation is a simple slide away using Nineoldandroids for compatibility. All works fine outside of Robolectric, however my unit test is crashing…
vkislicins
  • 3,331
  • 3
  • 32
  • 62
2
votes
1 answer

Porting zooming a view back with Nineoldandroids - method not resolved

I'm trying to port http://developer.android.com/training/animation/zoom.html back to API < 11. I'm using the nineoldandroid library to do so. However there's this part that nineoldandroid cannot understand: AnimatorSet set = new…
Gooey
  • 4,740
  • 10
  • 42
  • 76
2
votes
1 answer

nineoldandroid AnimatorListener called multiple times

Hi I'm trying to do a series of animations but it's failing miserably. It worked fine when it was just 4.0 but I added support for 2.2 and 2.3 using nineoldandroid. it seamed to work but the AnimatorListener's method onAnimationEnd is called…
Hugo Alves
  • 1,555
  • 2
  • 18
  • 41
2
votes
3 answers

Unknown animation name: objectAnimator. Using Nine Old Androids. Still getting error

I have 2 fragments that I want to swap between using a card flip animation. Here is one of my animation files:
PFranchise
  • 6,642
  • 11
  • 56
  • 73
2
votes
2 answers

LayoutTransition Class in NineOldAndroids..?

I want to animate add View as a "slide Down" and remove View as "slide Up" in a ViewGroup. So i used LayoutTransition.class but its not supported for minSdk 8. So i found this NineOldAndroids, and was wondering if i can achieve what i want using…
ngesh
  • 13,398
  • 4
  • 44
  • 60
1
vote
2 answers

Unable to import NineOldAndroids in eclispse

where can i download the "NineOldAndroids" and how to import it in eclipse. when i am trying to import it , i am getting a message "No projects are found to import". Can someone show me how to import it?
mehran
  • 39
  • 6
1
vote
1 answer

Multiple dex files define Lcom/nineoldandroids/animation/Animator$AnimatorListener

There are multiple questions that address this problem.. but none have worked for me.. I am using two libraries Jazzy view pager and mpAndroidChartLibrary The jazzyViewPager is a library project wheras androidChartLibrary is a jar File I am…
Alvin
  • 416
  • 1
  • 8
  • 18
1
vote
1 answer

nineoldandroids - setDuration doesnt work on AnimatorSet

I have the following code which splits an image in half and animate each part in different direction: final AnimatorSet mSetAnim = new AnimatorSet(); final Animator topAnim = ObjectAnimator.ofFloat(topImage, "translationY", (bmp.getHeight() / 2) *…
AsafK
  • 2,425
  • 3
  • 32
  • 38
1
vote
1 answer

Android Stduio dependency, multiple dex error, dex merger

Today I ran into an issue with multiple dex files when I added a library (MaterialDesignLibrary) to my project which was using another library(Float Labeled EditText). Through research I found out that the conflict is from that the two libraries are…
1
vote
1 answer

setPivotX doesn't work on android 4.1.1 NineOldAndroids

I am animating an ImageView using scaleX(). This is supposed to be a progress bar which fills from left to right. It works without a problem on API 10, 18 and 19. But on API 16 there seems to be a problem with the setPivotX() method. I have tried…
PaperThick
  • 2,749
  • 4
  • 24
  • 42
1
vote
0 answers

Issue in importing nineoldandroids v4 support library

I am trying to use the nineoldandroids v4 support library to support fragment animations. Here is the library. I want to add it as a library. But when I added I got an error Error:(13, 0) Build script error, unsupported Gradle DSL method found:…
Zach
  • 9,989
  • 19
  • 70
  • 107
1
vote
1 answer

obfuscating nineoldandroids and android-switch-backport with proguard

I 'am using proguard with eclipse to obfuscate a android proyect which has nineoldandroid library and switch backport, I get the following warnings: Tappsi_pasajero] Warning: class…
juan Isaza
  • 3,646
  • 3
  • 31
  • 37
1
vote
0 answers

getViewTreeObserver and ObjectAnimator by using Nineoldandroids in api 8 doesn't work

getViewTreeObserver and ObjectAnimator by using Nineoldandroids in api 8 doesn't work. It work in higher API (Ex. API 19) Here is my code. final LayoutInflater inflater =…
Jongz Puangput
  • 5,527
  • 10
  • 58
  • 96
1
vote
0 answers

Android animation lags after listview scroll

In my app, I have a top and bottom view. The bottom view contains a listview, the top an overview of the selected item. When I select an item from the listview, I switch the detailed item in the top view with an animation. My problem is, when I…
Daniel Zolnai
  • 16,487
  • 7
  • 59
  • 71
1
vote
0 answers

Animated EditText bug on Android API 10

I'm facing a trouble with the NineOldAndroid library, apparently there's some kind of a glitch, I wanna animate (move at ~20dp from the screen's top) my EditText when the user click on this one, works perfectly on API > 11 (...). But on previous…