0

私はスプラッシュスクリーンに悩まされています。 imageviewでイメージを回転していて、しばらくしてから新しいアクティビティを開始したいが、動作しません。私は私が行うことになっています何xml fileandroid:repeatCount=3 でfollowing-アニメーション後にアクティビティを再開する方法は?

protected override void OnCreate(Bundle bundle) 
     { 
      base.OnCreate(bundle); 

      SetContentView(Resource.Layout.SplashScreen); 
      ImageView ImageForRotation = FindViewById<ImageView>(Resource.Id.imageForRotation); 

      var loadedImage = AnimationUtils.LoadAnimation(this,Resource.Animation.SplashScreenImageRotation); 

      ImageForRotation.StartAnimation(loadedImage); 

      Thread.Sleep(3000); 
      StartActivity(LoginScreen); 
     } 

を試してみましたか?

答えて

0

使用この

startActivity(this,DestinationActivity.class); 
関連する問題