Esempio n. 1
0
        internal void StopAnimating()
        {
            _activitySpinner.StopAnimating();

            Hidden = true;

            Superview.SendSubviewToBack(this);
        }
Esempio n. 2
0
        public void SlidePopupTo(nfloat y)
        {
            UIView.Animate(Duration, delegate
            {
                popup.UpdateY(y);

                if (y.Equals(HiddenY))
                {
                    transparentArea.Alpha = 0;
                }
                else
                {
                    transparentArea.Alpha = 0.5f;
                }
            }, delegate
            {
                if (y.Equals(HiddenY))
                {
                    Superview.SendSubviewToBack(this);
                }
            });
        }