@Override
  public void unSelect(boolean setActiveColor, int animationDuration) {
    super.unSelect(setActiveColor, animationDuration);

    ResizeWidthAnimation anim = new ResizeWidthAnimation(this, mInActiveWidth);
    anim.setDuration(animationDuration);
    this.startAnimation(anim);

    labelView.animate().scaleY(0).scaleX(0).setDuration(0).start();
  }
  @Override
  void init() {
    paddingTopActive =
        (int) getResources().getDimension(R.dimen.shifting_height_top_padding_active);
    paddingTopInActive =
        (int) getResources().getDimension(R.dimen.shifting_height_top_padding_inactive);

    LayoutInflater inflater = LayoutInflater.from(getContext());
    View view = inflater.inflate(R.layout.shifting_bottom_navigation_item, this, true);
    containerView = view.findViewById(R.id.shifting_bottom_navigation_container);
    labelView = (TextView) view.findViewById(R.id.shifting_bottom_navigation_title);
    iconView = (ImageView) view.findViewById(R.id.shifting_bottom_navigation_icon);
    badgeView = (TextView) view.findViewById(R.id.shifting_bottom_navigation_badge);

    super.init();
  }