             }
             else
             {
-                actionBar.visible = actionBar.includeInLayout = !actionBar.visible;
+                actionBar.visible = actionBar.includeInLayout = showingActionBar;
+                
+                if (activeView)
+                    activeView.setActionBarVisible(showingActionBar);
             }
         }
         

        {
            if (transitionsEnabled && animateActionBarVisbility)
            {
                actionBarVisibilityEffect = showingActionBar ?
                                            createActionBarShowEffect() :                        
                                            createActionBarHideEffect();

        animate.motionPaths.push(new SimpleMotionPath("height", props.start.height, props.end.height));
        animate.motionPaths.push(new SimpleMotionPath("y", props.start.y, props.end.y));

        contentGroup.includeInLayout = false;
        return animate;
    }
    
