Remove Default Title Bar

前端 未结 9 673
天涯浪人
天涯浪人 2021-02-04 03:34

How do I remove the top title bar that\'s default in an Android app?

\"enter

The g

相关标签:
9条回答
  • 2021-02-04 04:30

    Its very simple to remove the title bar Just, Add the android:theme property to your AndroidManifest.xml

    <application android:theme="@android:style/Theme.NoTitleBar">
    
    0 讨论(0)
  • 2021-02-04 04:32

    enter image description here

    Go into manifest file

    Click the "Application" tab on the bottom (as shown)

    Enter @android:style/Theme.NoTitleBar (as shown)

    0 讨论(0)
  • 2021-02-04 04:40

    Try this:

    requestWindowFeature(Window.FEATURE_NO_TITLE);
    
    0 讨论(0)
提交回复
热议问题