Answers for "remove toolbar 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
1

hide the title bar android studio

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

Code answers related to "remove toolbar android"

Browse Popular Code Answers by Language