Beispiel #1
0
        public void OnGlobalLayout()
        {
            //var vto = MainActivity.TheLayout.ViewTreeObserver;
            //vto.RemoveOnGlobalLayoutListener(this);

            if (!m_scriptRun)
            {
                CustomInit.InitAndRunScript();
                m_scriptRun = true;
                MainActivity.TheView.HideBarIfNeeded();
                return;
            }
            MainActivity.KeyboardVisible = KeyboardPresent();
        }
Beispiel #2
0
        public void Run()
        {
            // If there is no tabbbar, move the tabs view down:
            OffsetTabBar();

            this.ViewControllerSelected += OnTabSelected;

            CustomInit.InitAndRunScript();

            if (m_selectedTab >= 0)
            {
                SelectTab(m_selectedTab);
            }
            else if (TabBar != null)
            {
                TabBar.Hidden = true;
            }
        }
Beispiel #3
0
        public void Run()
        {
            // If there is no tabbbar, move the tabs view down:
            OffsetTabBar();

            this.ViewControllerSelected += OnTabSelected;

            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(
                CurrentDomain_UnhandledException
                );

            CustomInit.InitAndRunScript();

            if (m_selectedTab >= 0)
            {
                SelectTab(m_selectedTab);
            }
            else if (TabBar != null)
            {
                TabBar.Hidden = true;
            }
        }