如何在TabBar和ToolBar之间加载ActionBar?

时间:2017-10-03 19:45:42

标签: android android-actionbar android-toolbar

我认为这是TabBar和ToolBar之间出现的ActionBar,它不应该发生。如何从中间删除ActionBar而不影响设置按钮?

enter image description here

这是我的ToolBar / TabBar的XML文件:

enter image description here

如果需要,这是我的AndroidManifest.xml:

enter image description here

我认为ActionBar是在TabBar和ToolBar之间加载的,但是如何在不在styles.xml中输入NoActionBar的情况下将其删除?如果我在styles.xml中执行“NoActionBar”,则“设置”不起作用。

我不是100%肯定这是一个动作栏。它也可能是其他东西,但我需要摆脱它。

这是我在styles.xml中添加“NoActionBar”并构建/运行应用程序时收到的错误。

突出显示的红色错误:

     URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

enter image description here

0 个答案:

没有答案