返回 登录
0

【首页welcome渐变】

AlphaAnimation aa = new AlphaAnimation(0.0f, 1.0f); 
aa.setDuration(1200); 
findViewById(R.id.v_welcome).startAnimation(aa); 
aa.setAnimationListener(new AnimationListener() 
{

        @Override
        public void onAnimationStart(Animation animation)
        {

        }

        @Override
        public void onAnimationRepeat(Animation animation) {

        }

        @Override
        public void onAnimationEnd(Animation animation) {
            startActivity(new Intent(A.this, B.class));
                    finish();
        }

    });
评论