In the manifest file, I use this line for my application tag
android:theme="@android:style/Theme.NoTitleBar"
and basically each action does not have a title bar, but for one of the actions I want to show a title bar
I know that to hide the panel, I can use this code
this.requestWindowFeature(Window.FEATURE_NO_TITLE); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
How to show title bar from code?
EDIT PLEASE do not raise me, how can I hide the title :) I know this if anyone knows how I can show it?
I know that I can put NoTitleBar in every action that I want to hide, and I can leave it for the one I want to show ... But this is not my point.
Lukap
source share