Code example for ActionBar

Methods: show

0
			actionBar.hide();
		} 
 
		@Override 
		public void show() { 
			actionBar.show();
		} 
		 
		@Override 
		public void addOnMenuVisibilityListener(final OnMenuVisibilityListener listener) {
			actionBar.addOnMenuVisibilityListener(new ActionBar.OnMenuVisibilityListener() {
				public void onMenuVisibilityChanged(boolean isVisible) {
					listener.onMenuVisibilityChanged(isVisible);
				} 
			}); 
		} 
 
		@Override 
		public void setDisplayHomeAsUpEnabled(boolean showHomeAsUp) {
			actionBar.setDisplayHomeAsUpEnabled(showHomeAsUp);
		}