This will translate the object in y direction:
ObjectAnimator mover = ObjectAnimator.ofFloat(v, "translationY", 0, 400);
mover.start();
More Related Contents:
- How to protect phonegap application source code?
- How do I obtain crash-data from my Android application?
- Building and running app via Gradle and Android Studio is slower than via Eclipse
- Android: How to detect double-tap?
- Is there a way to automatically update application on Android?
- Nexus 4 not showing files via MTP
- Custom Fonts in Android
- How can we have searched characters colored when we use searchview in recyclerview?
- Android: Clear Activity Stack
- Firebase @PropertyName doesn’t work
- Which Android IDE is better – Android Studio or Eclipse? [closed]
- Play sound on button click android
- HttpURLConnection worked fine in Android 2.x but NOT in 4.1: No authentication challenges found
- What is the difference between system apps and privileged apps on Android?
- “You need to use a Theme.AppCompat theme (or descendant) with the design library” error
- Android: How does GridView auto_fit find the number of columns?
- Eclipse Android project, how to reference library within workspace?
- Flutter Keyboard makes textfield hide
- Sliding navigation drawer not handling clicks on menu items android
- How to use selector to tint ImageView?
- Android ImageView’s onClickListener does not work
- Email verification using Firebase 3.0 on Android
- Google Maps Fragment returning null inside a fragment
- customize check box preference
- Android studio: why are minSdkVersion and targetSdkVersion specified both in AndroidManifest.xml and build.gradle?
- Back button and refreshing previous activity
- Rotating a drawable in Android
- Best practice android:onClick XML attribute or setOnClickListener? [duplicate]
- Combining two bitmap image (side by side)
- GPS-time in Android