this.requestWindowFeature(Window.FEATURE_NO_TITLE); 注意:必须放在setContentView(R.layout.main_activity);这个方法前面