To remove the Android status bar, execute the following statements in the onCreate method before making a call to setContentView(R.layout.main);

int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN;
getWindow().setFlags(flag, flag);