button.setVisibility(View.VISIBLE);
// 背景透明度渐变动画
ObjectAnimator alpha = ObjectAnimator.ofFloat(button, "alpha", 0, 1);
alpha.setDuration(1000);
alpha.start();
button.setVisibility(View.VISIBLE);
// 背景透明度渐变动画
ObjectAnimator alpha = ObjectAnimator.ofFloat(button, "alpha", 0, 1);
alpha.setDuration(1000);
alpha.start();