我正在使用windowanimations动画对话框。这是代码:
WelcomeToTeamDialog welcomeToTeamDialog = new WelcomeToTeamDialog((MainActivity) getActivity());
welcomeToTeamDialog.getWindow().getAttributes().windowAnimations = R.style.SMC2DialogAnimation;
welcomeToTeamDialog.show();
这是样式代码:
<style name="SMC2DialogAnimation">
<item name="android:windowEnterAnimation">@anim/dialog_slide_up</item>
<item name="android:windowExitAnimation">@anim/dialog_slide_down</item>
</style>
现在,我想回想动画何时结束。无法获得任何回调。我将在哪里获得动画结束的回调?