how to avoid action bar in android studio code example
Example 1: remove action bar android studio
// In your Styles.xml file, change:
parent="Theme.AppCompat.Light.DarkActionBar"
// to:
parent="Theme.AppCompat.Light.NoActionBar"
Example 2: android java remove action bar
ActionBar actionBar=getSupportActionBar();
actionBar.hide();