android Programming Glossary: translationy
How to animate a slide in notification view that pushes the content view down http://stackoverflow.com/questions/19098083/how-to-animate-a-slide-in-notification-view-that-pushes-the-content-view-down AnimatorSet set new AnimatorSet set.playTogether animate from off screen in to screen ObjectAnimator.ofFloat greenView translationY greenHeight 0 ObjectAnimator.ofFloat listView translationY 0 greenHeight ObjectAnimator.ofFloat greenView alpha 0 0.25f.. off screen in to screen ObjectAnimator.ofFloat greenView translationY greenHeight 0 ObjectAnimator.ofFloat listView translationY 0 greenHeight ObjectAnimator.ofFloat greenView alpha 0 0.25f 1 add other animations if you wish set.setStartDelay delay.. delay AnimatorSet set new AnimatorSet set.playTogether animate from on screen and out ObjectAnimator.ofFloat greenView translationY 0 greenHeight ObjectAnimator.ofFloat listView translationY greenHeight 0 ObjectAnimator.ofFloat greenView alpha 1 1 1 add..
Sideways View with XML Android http://stackoverflow.com/questions/3774770/sideways-view-with-xml-android from code. And in addition to rotation there is rotationX rotationY pivotX pivotY scaleX scaleY and translationX translationY. I haven't played with any of them yet. There is a list of all the changes in API 11 . But I suspect you wanted something..
Animate the transition between fragments http://stackoverflow.com/questions/4932462/animate-the-transition-between-fragments about slide in slide out I'll comment on that here. Slide in and slide out You can of course animate the translationX translationY x and y properties but generally slides involve animating content to and from off screen. As far as I know there aren't..
|