Android 工具条没有被移除?
所以我试图删除android设计页面上的工具栏,但由于某些原因无法删除 XML代码:Android 工具条没有被移除?,android,xml,android-layout,Android,Xml,Android Layout,所以我试图删除android设计页面上的工具栏,但由于某些原因无法删除 XML代码: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent"&
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent">
</LinearLayout>
将此添加到清单文件中
<application
...
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
...
</application>
...
将此添加到清单文件中
<application
...
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
...
</application>
...
您是否在清单中设置了活动的主题,而没有操作栏
在styles.xml中:
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<activity
android:name=".MainActivity"
android:theme="@style/AppTheme.NoActionBar" />
假的
真的
在您的AndroidManifest.xml中:
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<activity
android:name=".MainActivity"
android:theme="@style/AppTheme.NoActionBar" />
然后在设计页面中,您需要选择刚刚在对话框中创建的主题。您是否在清单中设置了活动的主题,而没有操作栏 在styles.xml中:
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<activity
android:name=".MainActivity"
android:theme="@style/AppTheme.NoActionBar" />
假的
真的
在您的AndroidManifest.xml中:
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<activity
android:name=".MainActivity"
android:theme="@style/AppTheme.NoActionBar" />
然后,在设计页面中,您需要选择刚刚在对话框中创建的主题。请提供更多信息。你的问题很难理解,请提供更多信息。你的问题很难理解;无法解析符号“@style/AppTheme.NoActionBar”。您需要在styles.xml中定义AppTheme.NoActionBar获取错误;无法解析符号“@style/AppTheme.NoActionBar”。您需要在styles.xml中定义AppTheme.NoActionBar