Answers for "how to remove toolbar in android"

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
-2

removing title bar from android app

res -> values -> styles.xml
<item name="windowNoTitle">true</item>
Posted by: Guest on September-02-2020

Code answers related to "how to remove toolbar in android"

Browse Popular Code Answers by Language