requestWindowFeature(Window.FEATURE_NO_TITLE); 必须放到ContentView前。 setContentView(R.layout.activity_sex_position);