Пример #1
0
        private int heightTopOffset = 0;         //25.0f;

        #endregion

        #region Constructor

        public WebViewController()
        {
            _arshuWebGrid = new ArshuWebGrid(this);
            SetNeedsStatusBarAppearanceUpdate();
            //this.ModalPresentationCapturesStatusBarAppearance = true;
            DummyObjectRegister();
        }
Пример #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            ArshuWebGrid.DrawablePackageName = "app.web.v1";

            // If the Android version is lower than Jellybean, use this call to hide
            // the status bar.
            if (Build.VERSION.SdkInt < BuildVersionCodes.JellyBean)
            {
                this.Window.SetFlags(WindowManagerFlags.Fullscreen, WindowManagerFlags.Fullscreen);
            }

            _arshuWebGrid = new ArshuWebGrid(this, bundle);
            if (_arshuWebGrid != null)
            {
                InitWebGrid();
            }
        }