public void setMenuBackgroundColor(int colorResId) {
    backgroundColor = ContextCompat.getColor(getContext(), colorResId);
    paint.setColor(backgroundColor);
    invalidate();
  }
public void setMenuBackgroundColor(int colorResId) {
    backgroundColor = ContextCompat.getColor(getContext(), colorResId);
    paint.setColor(backgroundColor);
    invalidate();
  }
public void setMenuBackgroundColor ( int colorResId ) { backgroundColor = ContextCompat . getColor ( getContext ( ) , colorResId ) ; paint . setColor ( backgroundColor ) ; invalidate ( ) ; }
Sets TapBarMenu's background color from given resource.
@param colorResId Color resource id. For example: R.color.holo_blue_light
Sets TapBarMenu s background color from given resource .