예제 #1
0
        /// <summary>
        /// Inits the web grid.
        /// </summary>
        /// <param name="rootView">Root view.</param>
        private void InitWebGrid()
        {
            DummyObjectRegister();

            if (_arshuWebGrid != null)
            {
                UIView rootView = GetRootView();
                _arshuWebGrid.InitView(rootView);

                _arshuWebGrid.CurrentPageAnimation = PageAnimation.FlipRight;
                _arshuWebGrid.RequireWifi          = false;
                _arshuWebGrid.StartAnimationTime   = 2000;
                _arshuWebGrid.EndAnimationTime     = 1000;
                _arshuWebGrid.ShowInstallLink      = true;
                _arshuWebGrid.ShowBackLink         = true;
                _arshuWebGrid.RestartOnRotate      = true;
                _arshuWebGrid.ShowMessages         = false;
                _arshuWebGrid.UseDocumentFolder    = true;
            }
        }
예제 #2
0
        /// <summary>
        /// Inits the web grid.
        /// </summary>
        /// <param name="rootView">Root view.</param>
        private void InitWebGrid()
        {
            DummyObjectRegister();
            if (_arshuWebGrid != null)
            {
                RelativeLayout rootView = GetRootLayout();
                _arshuWebGrid.InitView(rootView);

                _arshuWebGrid.CurrentPageAnimation = PageAnimation.FlipLeft;
                _arshuWebGrid.RequireWifi          = true;
                _arshuWebGrid.ThreadsPerProcessor  = 1;
                _arshuWebGrid.StartAnimationTime   = 2000;
                _arshuWebGrid.EndAnimationTime     = 1000;
                _arshuWebGrid.ShowInstallLink      = true;
                _arshuWebGrid.ShowBackLink         = true;
                _arshuWebGrid.RestartOnRotate      = true;
                _arshuWebGrid.ShowMessages         = false;

                RelativeLayout.LayoutParams webviewLayoutParams = GetWebLayoutParams();
                SetContentView(rootView, webviewLayoutParams);
            }
        }