摘要:
动态初始化Animation,并让动画一个组件运动到另外一个组件的代码 final ImageView to=.. final ImageView from=.. int [] location = new int [2]; from.getLocationInWindow(location); int [] locationTo = new int [2]; to.getLocationInWindow(locationTo); AnimationSet set = new AnimationSet(true); ani... 阅读全文