0
안녕하세요, 이런 활동 변경시 애니메이션을 적용하고 있습니다. ANIM 폴더에안드로이드에서 액티비티 변경시 슬라이드 애니메이션 숨김
Intent i;
i = new Intent(MainActivity.this, DemoActi.class);
startActivity(i);
overridePendingTransition(R.anim.push_left_in, R.anim.push_left_out);
XML 파일 push_left_in
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="1500"
android:fromXDelta="-100%"
android:interpolator="@android:anim/anticipate_overshoot_interpolator"
android:toXDelta="0%" />
</set>
ANIM 폴더에 XML 파일 push_left_out
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="1500"
android:fromXDelta="0%"
android:interpolator="@android:anim/anticipate_overshoot_interpolator"
android:toXDelta="100%" />
</set>
문제는 MainActivity 같은 애니메이션이 오른쪽 DemoActi 왼쪽 것입니다 발견이다 그것 뒤에 기차 컨테이너와 같은 것의 뒤에 합류하고있다. 하지만 DemoActi와 같은 애니메이션이 MainActivity의 적용을 받고 마무리가 될 때까지 밝혀야합니다. 도와주세요.