/**
* This method will run the entry animation
*/
private void runEnterAnimation() {
// We can now make it visible
imageView.setVisibility(View.VISIBLE);
// finally, run the animation
if (VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH) {
imageView.animate()
.setDuration(300)
.setInterpolator(new AccelerateDecelerateInterpolator())
.scaleX(1f)
.scaleY(1f)
.translationX(0)
.translationY(0)
.start();
}
}
SharedTargetFragment.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:FragmentRigger
作者:
评论列表
文章目录