I don't think that you can show/hide title bar after you have called setContentView() on activity, because it is done with requestWindowFeature() which should be called before setting content view. So, may be one of the approaches is reloading content view. But I'm not 100% sure. You may try to experiment.
One of the alternative approaches that you might want to use is to create your own viewgroup that can be placed on top of the screen as your own title bar or use custom title bar feature.
Check this out
my_own_titlebar_backbutton_like_on_the_iphone-t4591.htmlhttp://stackoverflow.com/questions/8203 ... t-run-time