ActionBarPopupWindow.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:PlusGram 作者:
private void startChildAnimation(View child) {
    if (animationEnabled) {
        AnimatorSet animatorSet = new AnimatorSet();
        animatorSet.playTogether(
                ObjectAnimator.ofFloat(child, "alpha", 0.0f, 1.0f),
                ObjectAnimator.ofFloat(child, "translationY", AndroidUtilities.dp(showedFromBotton ? 6 : -6), 0));
        animatorSet.setDuration(180);
        animatorSet.setInterpolator(decelerateInterpolator);
        animatorSet.start();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号