A util for setting status bar and navigation bar style on Android App.
compile 'com.zyl1012.util:AndroidBarUtil:1.0.0'
BarUtil.setStausBar
BarUtil.setNavigationBar
BarUtil.setStatusAndNavigationBar
BarUtil.setStatusAndNavigationBar(this, toobarColor, false, false, toobarColor, false, false);
BarUtil.setStatusAndNavigationBar(this, toobarColor, true, false, toobarColor, true, false);
BarUtil.setStatusAndNavigationBar(this, Color.TRANSPARENT, false, true, Color.TRANSPARENT, false, true);
Apache 2.0