/**
* Animate the views too look more lively
*/
public void show()
{
LinearLayout layout = (LinearLayout) getChildAt(0);
layout.setScaleY(0);
layout.animate().scaleY(1).setDuration(150).start();
for (int i = 0; i < layout.getChildCount(); i++)
{
View v = layout.getChildAt(i);
v.setScaleX(0);
v.setScaleY(0);
v.animate().scaleX(1).scaleY(1).setDuration(100)
.setStartDelay((80 * i) + 150)
.setInterpolator(new OvershootInterpolator())
.start();
}
}
EdSliderView.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:edslider
作者:
评论列表
文章目录