加载资源动画时本能的就
getResources().getAnimation(R.anim.bottom_in);
但是报一下错误
java.lang.ClassCastException: android.content.res.XmlBlock$Parser cannot be cast to android.view.animation.Animation,
一时无解 查找相关关资料原来需要
Animation animation = AnimationUtils.loadAnimation(getActivity(), R.anim.bottom_in); //这样写才行