两个方式
法一:(mainfest.xml)
android:theme="@android:style/Theme.NoTitleBar"
法二:(主activity类)
一定要写在setContentView()之前
//设置窗体为没有标题的模式
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
两个方式
android:theme="@android:style/Theme.NoTitleBar"
一定要写在setContentView()之前
//设置窗体为没有标题的模式
this.requestWindowFeature(Window.FEATURE_NO_TITLE);