|
|
@@ -432,12 +432,10 @@ public class TitleBarUtils {
|
|
|
actionBar.hide();
|
|
|
}
|
|
|
} else {
|
|
|
- activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar)
|
|
|
- .setVisibility(isShow ? View.VISIBLE : View.GONE);
|
|
|
+ ViewUtil.setVisibility(activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar), isShow);
|
|
|
}
|
|
|
} else {
|
|
|
- activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar)
|
|
|
- .setVisibility(isShow ? View.VISIBLE : View.GONE);
|
|
|
+ ViewUtil.setVisibility(activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar), isShow);
|
|
|
}
|
|
|
return this;
|
|
|
}
|