在GLSurfaceView上设置AlphaAnimation
有没有办法将GLSurfaceView上的动画设置为从完全不透明变为0 alpha透明度?我有以下代码,什么都不做:
AlphaAnimation anim = new AlphaAnimation(1f, 0f);
anim.setDuration (5000);
anim.setFillAfter(true);
glSurfaceView.startAnimation(anim);
我理解SurfaceView通常不像普通的View对象,所以这是正确的方法吗?还有另一种更好的方法吗?有可能吗?
没有找到相关结果
已邀请:
2 个回复
苛肠倒俱
琶竞捆栓