android.util.AndroidRuntimeException: You cannot combine custom titles with other title
来源:互联网 发布:源码交易平台源码 编辑:程序博客网 时间:2024/06/05 19:19
【原】android.util.AndroidRuntimeException: You cannot combine custom titles with other title
报如下错误:android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
这个问题主要是由下面语句造成的。
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.main);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);
原因暂时不是很清楚,在android4.0中会出现,android2.3中应该没有问题,貌似是title的冲突,解决方法如下:
在你的AndroidManifest.xml中添加相应Active的theme。如添加下面语句可解决:
android:theme="@android:style/Theme.Dialog"
具体的theme选项内容的添加根据你自己的意图选择。
xdyang 于2012-5-21 于reasil
0 0
- android错误之android.util.AndroidRuntimeException: You cannot combine custom titles with other title
- android错误-android.util.AndroidRuntimeException:You cannot combine custom titles with other title
- 报错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
- 报如下错误:android.util.AndroidRuntimeException: You cannot combine custom titles with other title featur
- 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.
- Caused by: android.util.AndroidRuntimeException: You cannot combine custom titles with other title f
- AndroidRuntimeException: You cannot combine custom titles with other title feature
- Android异常-AndroidRuntimeException: You cannot combine custom titles with other title features
- You cannot combine custom titles with other title features
- You cannot combine custom titles with other title feature
- sql 临时表
- Android 命令行编译、打包生成apk文件
- 职场中不宜讨论的几个问题
- android CodecCapabilities 图像格式
- Canvas API
- android.util.AndroidRuntimeException: You cannot combine custom titles with other title
- Json转换利器Gson之实例一-简单对象转化和带泛型的List转化
- QT在windows下的安装与配置 .
- MFC多线程编程之三——线程间通讯
- ios左右菜单
- PanoramaGL在IOS的使用
- BIOS简述
- 图片
- MFC多线程编程之四——线程的同步