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(); }
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; } }
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; } }