Hello!

Following problem, if I set the theme in manifest.xml to Translucent for my 
second activity and I use the method overridePendingTransition(enterAnim, 
exitAnim) in my first activity, the exit animation isn't applied.

*Manifest.xml*
<activity 
    android:name="com.example.activitytransition.SecondActivity" 
    android:label="Second activity" 
    android:theme="@android:style/Theme.Translucent" > 
</activity>

*MainActivity.java*
Intent intent = new Intent(MainActivity.this, SecondActivity.class);
startActivity(intent); 
MainActivity.this.overridePendingTransition(0, R.anim.push_down_out);

*R.anim.push_down_out*
<set xmlns:android="http://schemas.android.com/apk/res/android"; 
android:zAdjustment="top"> 
        <translate android:fromYDelta="0" android:toYDelta="100%p" 
android:duration="600" /> 
</set>

Thanks in advance!
Lukasz

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to