Answers for "how to remove title bar for one activity in android studio"

4

kotlin remove name from an activity

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    try
    {
        this.getSupportActionBar().hide();
    }
    catch (NullPointerException e){}

    setContentView(R.layout.activity_main);
}
Posted by: Guest on February-29-2020
8

android studio removing title bar

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar" />
Posted by: Guest on April-07-2020
1

hide the title bar android studio

getSupportActionBar().hide();
Posted by: Guest on November-27-2020
0

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">
Posted by: Guest on September-29-2020
0

remove title bar android studio

getSupportActionBar().hide();
Posted by: Guest on April-20-2021

Code answers related to "how to remove title bar for one activity in android studio"

Browse Popular Code Answers by Language