具体办法有两个:

一、针对整个项目,所有页面都不显示标题栏可是就android的theme,

    即在android配置文件AndroidManifest.xml中,为application节点添加android:theme属性,其值为android:style/Theme.NoTitleBar,完整语句为:<application android:icon="@drawable/icon" android:label="@string/app_name"  android:theme="@android:style/Theme.NoTitleBar">


二、代对某个Activity实施,写在java代码中:

     在类的onCreate()方法中增加:requestWindowFeature(Window.FEATURE_NO_TITLE);即:


void onCreate(Bundle savedInstanceState) {

...

requestWindowFeature(Window.FEATURE_NO_TITLE);


}