Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 1 | package org.sflphone.utils; |
| 2 | |
| 3 | import android.animation.ObjectAnimator; |
| 4 | import android.view.View; |
| 5 | |
| 6 | public class AnimationManager { |
| 7 | |
| 8 | public static ObjectAnimator slideOutDownAnimator(View toAnim, float height) { |
| 9 | // ObjectAnimator outAnim = ObjectAnimator.ofFloat(toAnim, "y", 0, height); |
| 10 | ObjectAnimator outAnim = new ObjectAnimator(); |
| 11 | outAnim.setDuration(500); |
| 12 | outAnim.setPropertyName("y"); |
| 13 | outAnim.setFloatValues(0, height); |
| 14 | return null; |
| 15 | } |
| 16 | |
| 17 | } |