一次修改即可不用在设置每个activity
先查看一下你清单文件application用的哪个theme。
<application
android:name="com.cecpay.qpos.config.BaseApplication"
android:allowBackup="true"
android:icon="@drawable/log"
android:theme="@style/AppTheme" >
然后按住ctrl点击进入这个them。也可以自己找在values里的style里面。然后找到这个them。在这个them下面设置
<item name="android:windowNoTitle">true</item>
我的用的是AppTheme 修改后
<style name="AppTheme" parent="AppBaseTheme">
<item name="android:windowNoTitle">true</item>
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
这样就可以了。