if (color == Color.TRANSPARENT) {
view.setOutlineProvider(sOutlineProvider);
} else {
view.setOutlineProvider(ViewOutlineProvider.BACKGROUND);
view.setBackgroundResource(R.drawable.lb_rounded_rect_bg);
((GradientDrawable) view.getBackground().mutate()).setColor(color);
}
view.setClipToOutline(true);