Пример #1
0
        public override void ViewDidLayoutSubviews()
        {
            base.ViewDidLayoutSubviews();

            if (View.Frame.Height > iPhoneSeScreenHeight && !keyboardIsOpen)
            {
                TopConstraint.Constant = topConstraintForBiggerScreens;
            }

            LoginCard.SetupBottomCard();
            GoogleSignupButton.SetupGoogleButton();
        }
Пример #2
0
        public override void ViewDidLayoutSubviews()
        {
            base.ViewDidLayoutSubviews();

            if (View.Frame.Height > iPhoneSeScreenHeight && !keyboardIsOpen)
            {
                TopConstraint.Constant = topConstraintForBiggerScreens;
            }

            if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad && !keyboardIsOpen)
            {
                TopConstraint.Constant = View.Frame.Height / 2 - tabletFormOffset;
            }

            LoginCard.SetupBottomCard();
            GoogleSignupButton.SetupGoogleButton();
        }