Exemple #1
0
 private void AddTutorial4()
 {
     tutorialView4       = new TutorialSubview(scrollView.Frame);
     tutorialView4.Frame = new CGRect(0, scrollView.Frame.Height * 4, scrollView.Frame.Width, scrollView.Frame.Height);
     tutorialView4.AddOverlay1();
     scrollView.AddSubview(tutorialView4);
 }
Exemple #2
0
        private void AddTutorial3()
        {
            tutorialView3       = new TutorialSubview(scrollView.Frame);
            tutorialView3.Frame = new CGRect(0, scrollView.Frame.Height * 3, scrollView.Frame.Width, scrollView.Frame.Height);
            tutorialView3.AddOverlay1();
            tutorialView3.AddOverlay2();

            // Swipe button
            UIImage bgImage = UIImage.FromBundle("Assets/Tutorial/circleButton_small.png");

            tutorialView3.AddSmallButton(bgImage);
            tutorialView3.Button.Frame          = new CGRect(scrollView.Center.X - (bgImage.Size.Width / 2), scrollView.Frame.Bottom - 240f, bgImage.Size.Width, bgImage.Size.Height);
            tutorialView3.Button.TouchUpInside += delegate
            {
                ScrollToPage(4);
            };
            scrollView.AddSubview(tutorialView3);

            // Flash animation
            ToggleArrow(tutorialView3.Button.ImageView);
        }