Answers for "android java remove title bar"

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

Code answers related to "android java remove title bar"

Browse Popular Code Answers by Language