Hide or remove the header of a Flex Mobile View
June 9th, 2011
No comments
When you have a mobile Flex application, your views will automatically have a header. This header is called an actionbar.
When you want to hide or remove this header on some views, you need to set the property actionBarVisible on false.
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
actionBarVisible="false">
xmlns:s="library://ns.adobe.com/flex/spark"
actionBarVisible="false">
You could also use the ViewNavigator.hideActionBar() method to hide the actionbar for all views controlled by the ViewNavigator.
protected function creationCompleteHandler(event:FlexEvent):void {
navigator.hideActionBar();
}
navigator.hideActionBar();
}
This is related to:
- Flex mobile remove title
- Flex view hide header
- Flex view hide or remove actionbar

Recent Comments