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

相关文章:

  • 2021-11-03
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-15
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
相关资源
相似解决方案