统一游戏列表样式,删除无用代码

This commit is contained in:
kehaoyuan
2018-11-20 17:18:57 +08:00
parent 5db3563400
commit 42176d334e
10 changed files with 123 additions and 538 deletions

View File

@ -91,6 +91,7 @@ public class GameViewUtils {
GradientDrawable gradientDrawable = new GradientDrawable();
gradientDrawable.setColor(Color.TRANSPARENT);
gradientDrawable.setStroke(DisplayUtils.dip2px(context, 0.6f), color);
gradientDrawable.setCornerRadius(DisplayUtils.dip2px(2.5F));
tag.setBackgroundDrawable(gradientDrawable);
tag.setTextColor(color);
}