如果我们想使用这个效果:
而不是这个效果:
最简单的方法是在AndroidManifest.xml 删除application标签中android:theme属性。
也可以修改以下文件:
1. values/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Light.NoTitleBar">
</style>
<style name="AppTheme" parent="AppBaseTheme">
</style>
2. values-v11/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Holo.NoActionBar">
</style>
3. values-v14/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Holo.Light.NoActionBar">
</style>
扫描二维码关注公众号,回复:
12535737 查看本文章
以上已验证通过。