隐藏系统自带的标题栏

在对象的Activity中添加

ActionBar actionBar = getSupportActionBar();
if (actionBar != null){
    actionBar.hide();
}

猜你喜欢

转载自blog.csdn.net/PErryiii/article/details/76033756