Android自定义标题时出现You cannot combine custom titles with other title features
来源:互联网 发布:程序员用什么机械键盘 编辑:程序博客网 时间:2024/05/29 12:30
public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.main_lock); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title); }}
You cannot combine custom titles with other title features
通过安卓自定义修改标题栏的时候,出现了一个问题
you cannot combine custom titles with other title features
接着程序变崩了。
解决办法
在manifest文件中,修改android:theme="@style/android:Theme.Light"
这样便能正常运行了
0 0
- Android自定义标题时出现You cannot combine custom titles with other title features
- 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
- 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 features
- 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 features
- 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 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
- VS1053B模块使用记录
- Android 5.1 Settings源码简要分析
- 说说JSON和JSONP,也许你会豁然开朗
- 设计模式之六大原则
- asorm1.0beta android Sqlite3 ORM 框架说明文档20160329
- Android自定义标题时出现You cannot combine custom titles with other title features
- android基础学习之动画基础
- 浙大PTA数据结构Pop Sequence
- Activity onDestroy() 调用研究
- runloop
- 通过隐藏option实现select的联动效果
- driver最近做的小笔记,有点乱,后面来整理
- _stdcall与_cdecl的区别
- 大数据项目实践指南(总体思路)