在对象的Activity中添加
ActionBar actionBar = getSupportActionBar(); if (actionBar != null){ actionBar.hide(); }