How do I remove the title bar in android studio?

后端 未结 24 1213
轮回少年
轮回少年 2020-12-04 08:03

In my app there is this title bar at the top where the overflow menu would be, but I don\'t need settings and only have one screen. When I change the theme like described in

24条回答
  •  暖寄归人
    2020-12-04 08:44

    1. open styles.xml
    2. insert
     
    

    you can change name="---------"

    1. open Androidmaifest.xm

      find android:theme="@style/AppTheme" chang to android:theme="@style/no_title"

    2. click select Theme on menubar (it's green color near MainActivity)

      • click project Theme
      • click no_title (on you right hand Side)
      • click OK

提交回复
热议问题