Android 取消标题栏
有很多种方法。
但一般多个页面的话,大多会在AndroidManifest.xml文件中设置
那么这里你需要注意了。
第一种:
如果style.xml 的 parent 是
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">那么在AndroidManifest.xml中要添加属性
android:theme="@style/Theme.AppCompat.Light.NoActionBar"第二种:
如果style.xml 的 parent 是
<style name="AppTheme" parent="AppBaseTheme">那么在AndroidManifest.xml中要添加属性
android:theme="@android:style/Theme.NoTitleBar"
浙公网安备 33010602011771号