there are launcher which offers the possibility to hide or protect the status bar. i tried to get the position of the menu with TouchEvent and menu position when there is a touch I put a popup to say you are not allowed but the touchEvent gives actions on screen so how can I hide the status bar I tried
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main_grid);
mGrid = (GridView) findViewById(R.id.gridview);
mGrid.setColumnWidth(95);
mGrid.setVisibility(0x00000000);
mGrid.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);