摘要:
一、代码实现动画:Activity中核心代码:int[] location = new int[2];viewObj.getLocationOnScreen(location);//获取视图位置int x = location[0];int y = location[1];TranslateAnimation tAnim = new TranslateAnimation(x, x, y, y+15);//设置视图上下移动的位置tAnim .setDuration(1000);tAnim .setRepeatCount(Animation.INFINITE);tAnim .setRepeatMo 阅读全文
posted @ 2014-04-10 14:36
sangxb
阅读(3955)
评论(0)
推荐(0)

浙公网安备 33010602011771号