这是简单的xmlandroid动画:我想将动画对象从屏幕中心移动到0,0位置。我是怎么做到的(它应该适用于所有屏幕分辨率)我的回答:谢谢大家的帮助。但是我已经通过其他方式动态地解决了我的问题,没有xml。这是此方法的完整代码:publicvoidreplace(intxTo,intyTo,floatxScale,floatyScale){//createsetofanimationsreplaceAnimation=newAnimationSet(false);//animationsshouldbeappliedonthefinishlinereplaceAnimation.setF