【发布时间】:2016-11-10 11:17:31
【问题描述】:
我的动画有问题。我写了这段代码,但什么也没发生。
public void animate(View v){
ImageView img = (ImageView) findViewByid(R.id.imageview);
img.animate().translationYBy(-1000f).setDuration(300);
}
我使用的是 Android Studio 2.2.2
【问题讨论】:
标签: android animation imageview