I\'m using following code for hiding status bar with full screen purpose:
void HideEverything(){ if (Build.VERSION.SDK_INT < 16) {
Using below code you can use full screen ;
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
Write below code above setcontentview.
Note : Don't give any theme to this activity.
Hope this helps.