一、新建APP,默认是带标题栏的,如下图所示:

二、取消默认标题栏:
1)、打开AndroidManifest.xml

2)、找到android:theme="@style/Theme.025NoActionApp"

3)、更改为android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"

4)、编译运行效果:

微信扫一扫
一、新建APP,默认是带标题栏的,如下图所示:

二、取消默认标题栏:
1)、打开AndroidManifest.xml

2)、找到android:theme="@style/Theme.025NoActionApp"

3)、更改为android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"

4)、编译运行效果:

相关推荐