|
|
@@ -193,7 +193,7 @@ public class NavigationBar {
|
|
|
setViewVisible(buttonTrash, isVisible, View.GONE);
|
|
|
}
|
|
|
|
|
|
- private void setConfrimVisible(boolean isVisible) {
|
|
|
+ private void setConfirmVisible(boolean isVisible) {
|
|
|
setViewVisible(buttonConfirm, isVisible, View.GONE);
|
|
|
}
|
|
|
|
|
|
@@ -285,7 +285,7 @@ public class NavigationBar {
|
|
|
|
|
|
setUnderlineVisible(newBuilder.isVisibleUnderline);
|
|
|
|
|
|
- setConfrimVisible(newBuilder.isVisibleConfirm);
|
|
|
+ setConfirmVisible(newBuilder.isVisibleConfirm);
|
|
|
mapClickListener(buttonConfirm, newBuilder.confirmListener);
|
|
|
|
|
|
setTrashVisible(newBuilder.isVisibleTrash);
|
|
|
@@ -317,22 +317,27 @@ public class NavigationBar {
|
|
|
int color;
|
|
|
if (isWhite) {
|
|
|
color = ResourceUtil.getColor(R.color.CFFFFFF);
|
|
|
- actionBarTitle.setTextColor(color);
|
|
|
- DrawableCompat.setTint(buttonBack.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(imageBi.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonBack.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonSearch.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonMenu.getDrawable(), color);
|
|
|
}
|
|
|
else {
|
|
|
color = ResourceUtil.getColor(R.color.C000000);
|
|
|
- actionBarTitle.setTextColor(color);
|
|
|
- DrawableCompat.setTint(buttonBack.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(imageBi.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonBack.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonSearch.getDrawable(), color);
|
|
|
- DrawableCompat.setTint(buttonMenu.getDrawable(), color);
|
|
|
}
|
|
|
+ actionBarTitle.setTextColor(color);
|
|
|
+ textButton.setTextColor(color);
|
|
|
+ DrawableCompat.setTint(imageBi.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonBack.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonSearch.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonMenu.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonArrow.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonHome.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonNotification.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonSetting.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonClose.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonTrash.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonConfirm.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonShare.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonLike.getDrawable(), color);
|
|
|
+ DrawableCompat.setTint(buttonBookmark.getDrawable(), color);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/***********************************
|