Is it possible to hide NavigationBar?

I’m creating a login page for a Touch Kit application. I want to hide the top NavigationBar, but I don’t know how.

I have already tried the following without any success:

getNavigationBar().setVisible(false);
getNavigationBar().setHeight("0");