@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        StatusBarUtil.setColor(this, ContextCompat.getColor(this, R.color.colorPrimary), 0);
        initView();
        isLaunch = true;
    }
Link to: https://github.com/youlookwhat/ByWebView
contact me: https://www.jianshu.com/u/e43c6e979831
app/src/main/java/com/example/jingbin/webviewstudy/MainActivity.java