Answers for "hide the title bar 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 "hide the title bar in android"

Browse Popular Code Answers by Language