android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
2013-12-08 11:56
549 查看
原因是:
使用了requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
android2.3.x版本可以正常使用,android4.0以上版本默认设置了标题,导致两个title冲突。
android4.0以上版本解决办法:
1、在AndroidMainfest.xml中修改<application>标签中的android:theme="@style/AppTheme"(自定义主题的时候),根据自己需要修改。
2、或者直接删除 \res\values-v11和v11以上(这个没有什么用处)。
使用了requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
android2.3.x版本可以正常使用,android4.0以上版本默认设置了标题,导致两个title冲突。
android4.0以上版本解决办法:
1、在AndroidMainfest.xml中修改<application>标签中的android:theme="@style/AppTheme"(自定义主题的时候),根据自己需要修改。
2、或者直接删除 \res\values-v11和v11以上(这个没有什么用处)。
相关文章推荐
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features .
- 报错android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features .
- 报错】android.util.AndroidRuntimeException: You cannot combine custom titles with other title features.
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
- android错误-android.util.AndroidRuntimeException:You cannot combine custom titles with other title
- Android debug-you cannot combine custom titles with other title features
- Android运行异常处理: You cannot combine custom titles with other title features
- android错误之android.util.AndroidRuntimeException: You cannot combine custom titles with other title
- Caused by: android.util.AndroidRuntimeException: You cannot combine custom titles with other title f
- android自定义title出现 You cannot combine custom titles with other title features
- Android自定义标题时出现You cannot combine custom titles with other title features
- Android有关自定义标题的问题 You cannot combine custom titles with other title features
- Android异常-AndroidRuntimeException: You cannot combine custom titles with other title features
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title
- 解决自定义标题栏You cannot combine custom titles with other title features问题
- studio上设置标题栏,问题You cannot combine custom titles with other title features