how to hide action bar in activity code example Example: android java remove action bar ActionBar actionBar=getSupportActionBar(); actionBar.hide();