只需要一个样式就可以解决了:
<style name="Theme.NoBackgroundAndTitleWithTranslucent" parent="style/AppTheme">
<item name="android:windowNoTitle">true</item>
</style>
如果界面变成了黑色用这个:
<style name="Theme.NoBackgroundAndTitleWithTranslucent" parent="@android:style/Theme">
<item name="android:windowNoTitle">true</item>
</style>