该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.load_no);load_image=(ImageView) findViewById(R.id.load_id);// 透明度渐变动画AlphaAnimation animation = new AlphaAnimation(0.1f, 1.0f);// 动画持续时间animation.setDuration(1 * 4000);// 动画绑定到ImageView组件上执行load_image.setAnimation(animation);animation.setAnimationListener(new AnimationListener() {/*** 动画开始时触发*/@Overridepublic void onAnimationStart(Animation animation) {Toast.makeText(Load_Activity.this,Load_Activity.this.getResources().getText(R.string.load_top_st), Toast.LENGTH_SHORT).show();}/*** 动画结束的时候执行*/@Overridepublic void onAnimationEnd(Animation animation) {// 动画执行完毕,就跳转Intent intent = new Intent(Load_Activity.this,Writer_Activity.class);startActivity(intent);finish();}/*** 重复执行触发*/@Overridepublic void onAnimationRepeat(Animation animation) {}});}然后在layout布局中申请一个界面,然后绑定上去,然后那个调转的界面要在AndroidManifest.xml中声明