remove header in android studio code example
Example 1: hide the title bar android studio
getSupportActionBar().hide();
Example 2: 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 3: remove header visual studio android
[Activity(Label = "@string/app_name", Theme = "@style/Theme.AppCompat.Light.NoActionBar", MainLauncher = true)]