Example #1
0
        public static void TryHideActionbar(this Activity that, View view)
        {
            try
            {
                //Log.wtf("AndroidGLSpiralActivity", "TryHideActionbar");
                var h = new HideLater { that = that, view = view };
                view.setOnSystemUiVisibilityChangeListener(
                   h
                    );

                h.onSystemUiVisibilityChange(0);
                //Log.wtf("AndroidGLSpiralActivity", "TryHideActionbar done");
            }
            catch
            {
                Log.wtf("AndroidGLSpiralActivity", "TryHideActionbar error");

                //throw;
            }
        }