remove title bar android studio code example
Example 1: android studio removing title bar
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar" />
Example 2: hide the title bar android studio
getSupportActionBar().hide();
Example 3: how to remove title bar android studio
change
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
to
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
Example 4: hide title bar android
requestWindowFeature(Window.FEATURE_NO_TITLE);
getSupportActionBar().hide();
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main);
Example 5: remove title bar android studio
getSupportActionBar().hide();
Example 6: removing title bar from android app
res -> values -> styles.xml
<item name="windowNoTitle">true</item>