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

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

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
            labelView.animate().scaleY(0).scaleX(0).setDuration(0).start();
        }
    }
Class description

@author ashokvarma
@version 1.0
@see BottomNavigationTab
@since 19 Mar 2016
common/src/main/java/com/sxjs/common/widget/bottomnavigation/ShiftingBottomNavigationTab.java