Esempio n. 1
0
        public override void ViewDidLayoutSubviews()
        {
            base.ViewDidLayoutSubviews();

            View.Bounds = Springboard.View.Bounds;

            OOBEView.LayoutChanged(View.Bounds.ToRectF( ));
        }
Esempio n. 2
0
        public override void OnConfigurationChanged(Android.Content.Res.Configuration newConfig)
        {
            base.OnConfigurationChanged(newConfig);

            Point displaySize = new Point( );

            Activity.WindowManager.DefaultDisplay.GetSize(displaySize);
            OOBEView.LayoutChanged(new System.Drawing.RectangleF(0, 0, displaySize.X, displaySize.Y));
        }
Esempio n. 3
0
        public override void OnResume()
        {
            base.OnResume();

            // guard against backgrounding / resuming
            if (DidLaunch == false)
            {
                DidLaunch = true;

                SpringboardParent.ModalFragmentOpened(this);

                OOBEView.LayoutChanged(new System.Drawing.RectangleF(0, 0, NavbarFragment.GetFullDisplayWidth( ), this.Resources.DisplayMetrics.HeightPixels));
            }
        }