就像标题所说的,我正在寻找一种简单的方式来定制在显示中使用的颜色。
如果可能的话,我想使用官方代码(避免第三方库)。
我用的是通常的代码:
Animator anim = ViewAnimationUtils.createCircularReveal(myView, cx, cy, 0, finalRadius);
myView.setVisibility(View.VISIBLE);
anim.start();发布于 2016-06-14 18:44:30
圆形显示动画没有任何颜色。如果您想要颜色,您需要在您提供的视图上设置为圆形显示的背景色。
https://stackoverflow.com/questions/37819026
复制相似问题