public void unSelect(boolean setActiveColor, int animationDuration) {
        isActive = false;

        ValueAnimator animator = null;
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
            animator = ValueAnimator.ofInt(containerView.getPaddingTop(), paddingTopInActive);
            animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
                @Override
                public void onAnimationUpdate(ValueAnimator valueAnimator) {
                    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
                        containerView.setPadding(containerView.getPaddingLeft(),
                                (Integer) valueAnimator.getAnimatedValue(),
                                containerView.getPaddingRight(),
                                containerView.getPaddingBottom());
                    }
                }
            });
            animator.setDuration(animationDuration);
            animator.start();
        }

        labelView.setTextColor(mInActiveColor);
        iconView.setSelected(false);

        if (badgeItem != null) {
            badgeItem.unSelect();
        }
    }
Class description

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