项目->AndroidManifest.xml->manifest->application->android:theme
1. 如果设置为 "@android:style/Theme.Holo.Light.NoActionBar" 效果如下所示:
但是android:minSdkVersion被强制要求是13以上,这个。。。
2. 如果设置为 "@android:style/Theme.Light.NoTitleBar" 效果如下所示:
3. 如果要实现在android:minSdkVersion为13以下也可以安装,但是只是没有那个Holo效果而言的话,应该这样写:
"@style/AppTheme"
而默认的AppTheme是这样写的
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
而AppBaseTheme是这样写的
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
</style>
<!-- API 11 theme customizations can go here. -->
</style>