在开发过程中想要取消显示ActionBar,但是尝试了几种方法后,只有最后的这种方法实现了效果。
在AndroidManifest.xml中的标签中设置theme属性,
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
在开发过程中想要取消显示ActionBar,但是尝试了几种方法后,只有最后的这种方法实现了效果。
在AndroidManifest.xml中的标签中设置theme属性,
android:theme="@style/Theme.AppCompat.Light.NoActionBar"