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
1
vote
0 answers

Page Transformation animation using nineoldandroid doesn't render on api level 10

I have following code for page transformation in View Pager. It works well on api level 11 or above but not showing animation on api level 10 or below. Note that code uses NineOldAndroid lib to do all animations. import…
1
vote
0 answers

White place after animation on Gingerbread

I probably dont understant something in animation of view. The problem: I using NineOldAndroids to animate views. Animation is simple - just move element outside of screen and I doing that by: animate(some relative…
1
vote
0 answers

TextView disappears after translate Animation from one linearlayout to other linearlayout

I am trying to swap two text views (which are in different linear layouts) with each other. My requirement is little similar to the one mentioned in the below link, Animation: Move TextView into another container I used ObjectAnimator of…
1
vote
1 answer

NineOldAndroids animation not working on API>10

I am using NineOldAndroid library to perform animations. The animations work fine for API<=10. But for API>10 the app force closes. This is my code: import static com.nineoldandroids.view.ViewPropertyAnimator.animate; import…
Naddy
  • 2,664
  • 6
  • 25
  • 38
1
vote
4 answers

Couldn't find setter property rotation for Button with value type float

I am using NineOldAndroids to rotate a button when users click on it. here are the codes: Button btntest = (Button) findViewById(R.id.testbutton); btntest.setOnClickListener(new OnClickListener() { @Override public…
Nguyen Minh Binh
  • 23,891
  • 30
  • 115
  • 165
1
vote
2 answers

Android animations compatibility

I am currently working on an application that is compatible with API 14 and up. It's using ObjectAnimators to do a lot of the animations. The goal is to make all animations compatible to Android 2.2–2.2.3 Froyo (API level 8) and above. I have…
ahmad
  • 2,149
  • 4
  • 21
  • 38
1
vote
0 answers

9oldandroids - view still clickable after translationX/Y (even with visibility GONE) - Android < 3.0

I use 9oldandroids for animation in my app. in Android devices >= 3.0, everything works fine. In Android < 3.0 devices, I have an annoying problem: I have a view with a few buttons. Say I translated that view's y position from its location (viewY)…
dors
  • 5,802
  • 8
  • 45
  • 71
1
vote
0 answers

NineOldAdroids Animation curveTo dp insted pixels

I have an animation but it looks different on different screen sizes, how to adjust it so that the function curveTo does take 'dp' instead of pixels? And also if someone has an idea how to slow down it in the corner points, I am simulating falling…
totpiko
  • 259
  • 2
  • 4
  • 9
1
vote
3 answers

Android Animation on API 8

problem in this code ? its work on android 4 successfully ! but don't work on 2.2 ! i use nineoldandroids library for android API 8 if(Build.VERSION.SDK_INT > 13) { v.setTranslationX(0.0F); v.setTranslationY(height); …
Vahid.Ahani
  • 124
  • 3
  • 10
1
vote
1 answer

Animation proxy from nineoldandroid was not working 2.2

friends.... I got a problem with animation in betwen versions...So i will give description about the requirements of my app and problem im facing 1.My consists of animation which consists viewpager. 2.And this animation must work in lower versions…
1
vote
1 answer

How to smoothly animate a view up/down based on a drag motion using ObjectAnimator?

I created a view that has a MapFragment that occupies the top 1/3 of the screen and a ListView that occupies the bottom 2/3 of the screen. The ListView has a "handle" directly above its list items that the user can use to drag the entire ListView up…
oracleicom
  • 918
  • 4
  • 11
  • 19
1
vote
2 answers

Backwards compatible PageTransformer

I'm trying to animate items in a ViewPager and the PageTransformer fits the bill. I want it to be backwards compatible to Android 2.2 so am using the support v4 library. However... As property animation is only supported as of Android 3.0 and…
Tim Kist
  • 1,164
  • 1
  • 14
  • 38
0
votes
0 answers

Is there support for AnimatorSet API lower than 23?

I have been using NineOldAndroids for animation which now deprecated. Today, I found there is this ViewCompat just like ViewHelper from NineOldAndroids. So, is there any AnimatorSet compat that can be used for lower API, like API 8?
Tuss
  • 935
  • 1
  • 8
  • 14
0
votes
1 answer

What does the GlowPadBackport readme mean?

This library will NOT do anything that is not strictly needed for this to build/work. Since this class has since been removed from AOSP, this library should be considered DEPRECATED. No efforts will be put into it, including merging PRs, for…
0
votes
1 answer

How to change the position of view after a translate animation using NineOldAndroids?

I tried searching around and found that you have to set a listener to change the actual position of the view when the animation ends. But the thing is, I don't know how I can get the end values from the ObjectAnimator I am using. Isn't there an…
John Ernest Guadalupe
  • 6,379
  • 11
  • 38
  • 71