android中我设置了主题和样式为Theme.NoTitleBar.Full_Screen,但是.....显示出来一依然有个titlebar,那位知道怎么回事啊 ,最好给个demo,谢谢啦
我的怎么好用呢,我在manifest指定了android:theme,其他的没加
<?xml version="1.0" encoding="utf-8"?>
package="com.android.test"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".AndroidTest"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
这个属性吧 Theme.NoTitleBar.Fullscreen
要是实在不行的话就在activity中添加代码是实现[code="java"] super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
[/code]