在继承了 AppCompatActivity 的活动 中 在AndroidManifest.xml 中活动主题引用的却是Activity的主题
style文件
<style name="AppTheme" parent="android:Theme.Holo.Light">
<!-- Customize your theme here. -->
</style>
AndroidManifest.xml
<activity android:name=".ui.user.CollectActivity" android:theme="@style/AppTheme"/>
如上述代码 显示是会出问题的
可以选择直接将 style文件中 parent进行修改 如下
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
</style>