コード例 #1
0
        private void StartLayout()
        {
            BackLabel.FadeTo(0, 1);
            EmailEntry.FadeTo(0, 1);
            PasswordEntry.FadeTo(0, 1);

            BackLabel.TranslateTo(0, 30, 1);
            EmailEntry.TranslateTo(0, -60, 1);
            PasswordEntry.TranslateTo(0, -60, 1);
        }
コード例 #2
0
        private void ShowControls()
        {
            BackLabel.TranslateTo(0, 0, AnimationSpeed);
            EmailEntry.TranslateTo(0, 0, AnimationSpeed);
            PasswordEntry.TranslateTo(0, 0, AnimationSpeed);

            BackLabel.FadeTo(1, AnimationSpeed);
            EmailEntry.FadeTo(1, AnimationSpeed);
            PasswordEntry.FadeTo(1, AnimationSpeed);
        }
コード例 #3
0
        private void HideControls()
        {
            BackLabel.FadeTo(0, AnimationSpeed);
            EmailEntry.FadeTo(0, AnimationSpeed);
            PasswordEntry.FadeTo(0, AnimationSpeed);

            BackLabel.TranslateTo(0, 30, AnimationSpeed);
            EmailEntry.TranslateTo(0, -60, AnimationSpeed);
            PasswordEntry.TranslateTo(0, -60, AnimationSpeed);
        }