【发布时间】:2020-09-26 12:26:15
【问题描述】:
如何使用平移动画获取移动视图的位置。
TranslateAnimation animation = new TranslateAnimation(0.0f, 300.0f,
0.0f, 0.0f);
animation.setDuration(500);
animation.setFillAfter(true);
mainview.startAnimation(animation);
【问题讨论】:
标签: java android android-layout user-interface animation