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