Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the
来源:互联网 发布:gtx950m4g独显数据 编辑:程序博客网 时间:2024/05/20 13:36
Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
看下报错的如下图:
这个意思是已经存在了actionBar,在mainfast里面添加一句代码就行了
<activity android:name=".popuwindow.PopuMenuActivity" android:theme="@style/AppTheme.NoActionBar" ></activity>在style语句里面添加一下
<style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item></style>
阅读全文
0 0
- Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the
- Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the
- Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the
- Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied b
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- IllegalStateException: This Activity already has an action bar supplied by the window decor.
- This Activity already has an action bar supplied by the window decor
- 解决 This Activity already has an action bar supplied by the window decor 错误
- This Activity already has an action bar supplied by the window decor.
- This Activity already has an action bar supplied by the window decor.
- 错误集锦之一:This Activity already has an action bar supplied by the window decor.
- 错误集锦之一:This Activity already has an action bar supplied by the window decor.
- Android异常:This Activity already has an action bar supplied by the window decor
- This Activity already has an action bar supplied by the window decor
- 关于继承parent="Theme.AppCompat"错误:This Activity already has an action bar supplied by the window decor
- This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE
- WordPress 微信小程序
- svg圆形彩色进度条
- 回文词与镜像词,紫书P48Uva401
- iOS8.0 UILabel切圆角之后有时边缘会有一条黑线
- Android笔记(5)convenientbanner轮播图
- Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the
- 中科院罗平演讲全文:自动撰写金融文档如何实现,用 AI 解
- 使用逆向工程生成mybatis的Mapper文件
- iOS Rotation
- AngularJS的Filter用法详解
- android使用注解替代枚举
- select option的操作
- C++必知必会题目整理
- Android自定义按钮之圆角矩形