コード例 #1
0
        public async Task AnimationSetAsync()
        {
            await Task.Delay(3000);

            aboutslinkapp.StartAnimation(fadeouttext);
            aboutslinkapp1.StartAnimation(fadeouttext);
            await Task.Delay(2000);

            myImage.StartAnimation(rotateAboutCornerAnimation);

            await Task.Delay(2000);

            aboutslinkapp.ClearAnimation();
            aboutslinkapp1.ClearAnimation();

            await Task.Delay(2000);

            slinkinstruction.StartAnimation(fadeouttext);
            await Task.Delay(2000);

            slinkinstruction.ClearAnimation();


            await Task.Delay(2000);

            FrontView2.Visibility = ViewStates.Visible;
            await Task.Delay(2000);

            aboutslinkapp.Text = "Add Your name and Picture";
            aboutslinkapp.StartAnimation(fadeouttext);

            await Task.Delay(1500);

            UserNameEdittext.Text = "";

            UserNameEdittext.Text = "j";

            await Task.Delay(400);

            UserNameEdittext.Append("o");

            await Task.Delay(400);

            UserNameEdittext.Append("h");


            await Task.Delay(400);

            UserNameEdittext.Append("n");
            await Task.Delay(100);


            UserNameEdittext.Append(" ");
            Task.Delay(400);

            UserNameEdittext.Append("D");
            await Task.Delay(400);

            UserNameEdittext.Append("o");
            await Task.Delay(400);

            UserNameEdittext.Append("e");

            await Task.Delay(400);

            UserIconImage.SetImageResource(Resource.Drawable.instructionimage);
            await Task.Delay(1000);

            aboutslinkapp.Text = "Change the Border Color";
            aboutslinkapp.StartAnimation(fadeouttext);
            await Task.Delay(1000);

            //aboutslinkapp.ClearAnimation();
            MainRelativeView.Background = Resources.GetDrawable(Resource.Drawable.customcorner);
            MainRelativeView.SetBackgroundResource(Resource.Drawable.customcorner);

            await Task.Delay(1500);

            aboutslinkapp.Text = "Add your phone no";
            OutLet.Visibility  = ViewStates.Gone;
            aboutslinkapp.StartAnimation(fadeouttext);
            //aboutslinkapp.ClearAnimation();
            await Task.Delay(1500);

            SetOtherAccountAsync();
        }