📅  最后修改于: 2022-03-11 14:52:48.158000             🧑  作者: Mango
Drawable unwrappedDrawable = tvContinueShopping.getBackground();
Drawable wrappedDrawable = DrawableCompat.wrap(unwrappedDrawable);
DrawableCompat.setTint(wrappedDrawable, (Color.parseColor(getPreferences().getString(Constant.SECOND_COLOR, Constant.SECONDARY_COLOR))));