support-v4:27.1.0 fragment custom animations do not work as expected
问题 Fragment animations do not work properly with support-v4:27.1.0 getSupportFragmentManager() .beginTransaction() .setCustomAnimations(ENTER_ANIM , LEAVE_ANIM) .replace(R.id.main_activity_fragment_place_holder, fragment) .addToBackStack(tag) .commitAllowingStateLoss(); enter animation <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="500" /> leave