public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); View.Bounds = Springboard.View.Bounds; OOBEView.LayoutChanged(View.Bounds.ToRectF( )); }
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)); }
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)); } }