Status bar is where battery,time is displayed and action bar is title bar.I want to hide status bar in my app but display action bar.Is it possible?
Write the following in Activity after onCreate:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
Here is screenshot: