@Override
public void onTouchDown() {
if (mAnim != null) {
mAnim.cancel();
}
if (mViewtoToggle.getAlpha() == 1f) {
mIgnoreNextTap = true;
}
mAnim = mViewtoToggle.animate();
mAnim.alpha(0f)
.setDuration(150)
.withEndAction(new Runnable() {
public void run() {
mViewtoToggle.setVisibility(View.INVISIBLE);
}
});
mAnim.setInterpolator(new AccelerateInterpolator(0.75f));
mAnim.start();
}
ToggleOnTapCallback.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:FlickLauncher
作者:
评论列表
文章目录