I have made the following animation in my android project
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator">
<translate
android:fromYDelta="0"
android:toYDelta="-100%"
android:duration="500" />
</set>
which is making the dissappear starting the bottom to top.
I used
overridePendingTransition(0, R.anim.slide_from_top_out)
to start this animation,
it works successfully in the android 2.3.3(htc desire S), but it can not work on the
android 3.1(samsung tablet), others animations(like from_top_bottom, it’s same as this animation, just different with the direction) can work successfully in the tablet and phone.
It maybe casued by Activity animation not working in Galaxy Tab
, I tested my codes in the ASUS tablet, it always worked succesfully, so i think maybe this animation just failed in the samsung.