×

CODE

隐藏标题栏

小星星 小星星 发表于2021-09-09 浏览203 评论0
1方式一在onCreate方法中调用getSupportActionBar().hide();2方式二在onCreate方法中调用ActionBar actionBar = getSupportActionBar(); if(actionBar!=null){     actionBar.setDisplayShowTitleEnabled(false); }
隐藏 标题栏 ActionBar