TextView 部分字体椭圆背景
代码很容易看懂 废话不多说 直接上代码
public class RoundBackgroundColorSpan extends ReplacementSpan {
private int bgColor;
private int textColor;
private Context context;
public RoundBackgroundColorSpan(Context context ,int bgColor, int textColor) {
super();
this.context=context;