ImmersionBar.with(MainActivity.this).init(); implementation 'com.gyf.barlibrary:barlibrary:2.2.9' 需要的每一页都写