1、找到value目录下的theme.xml文件
2、将
<style name="Base.Theme.Project1_2_5" parent="Theme.MaterialComponents.DayNight">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
</style>
修改为
<style name="Base.Theme.Project1_2_5" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
</style>
即可去除