方法一:在***Mainifest.xml中 <application>节点中加入 android:theme="@style/AppTheme"
方法二:
public void onCreate(Bundle savedInstanceState) {
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
super.onCreate(savedInstanceState);}
要写在super..前面 ,即在建立之前去掉头部
方法一:在***Mainifest.xml中 <application>节点中加入 android:theme="@style/AppTheme"
方法二:
public void onCreate(Bundle savedInstanceState) {
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
super.onCreate(savedInstanceState);}
要写在super..前面 ,即在建立之前去掉头部
转载于:https://www.cnblogs.com/Mrs-cc/archive/2012/07/14/2591715.html