标签:text 代码 span 设置 color shape corn roi raw
TextView textView = new TextView(this); GradientDrawable drawable = new GradientDrawable(); drawable.setCornerRadius(5); drawable.setStroke(1, Color.parseColor("#cccccc")); drawable.setColor(Color.parseColor("#eeeeee")); textView.setBackgroundDrawable(drawable);
标签:text 代码 span 设置 color shape corn roi raw
原文地址:https://www.cnblogs.com/fphuang/p/9061818.html