translate = new TranslateAnimation(0,270, 0, -30);
rotate.setDuration(1000);
rotate = new RotateAnimation(0, 360, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
rotate.setDuration(1000);
scale = new ScaleAnimation(1f, 3f, 1f, 3f, Animation.RELATIVE_TO_SELF, 0f, Animation.RELATIVE_TO_SELF, 0f);
scale.setDuration(1000);
位移动画单独设置时可以到达指定位置(水平居中),但是和放大,旋转一起放到AnimationSet 里面就飞出屏幕了
求大神
------解决思路----------------------
你的位移动画有一个负值呢?你先不位置试试看?