在protected void onCreate(Bundle savedInstanceState) 里面添加:
getSupportActionBar().hide();
就可以了。
添加后:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_web);
getSupportActionBar().hide();
}