调用Activity对象的requestWindowFeature(Window.FEATURE_NO_TITLE);即可得到无标题栏效果的Activity.