主题色替换

This commit is contained in:
huangjian
2023-03-17 19:32:07 +08:00
parent eb25a1244c
commit cd7b4db946
43 changed files with 56 additions and 59 deletions

View File

@@ -54,7 +54,7 @@ public class BubbleView extends AppCompatTextView {
gradientDrawable.setCornerRadius(ScreenUtil.dip2px(20));
gradientDrawable.setColor(Color.parseColor("#FF3B30"));
setBackground(gradientDrawable);
setPadding(ScreenUtil.dip2px(6), ScreenUtil.dip2px(2), ScreenUtil.dip2px(6), ScreenUtil.dip2px(2));
setPadding(ScreenUtil.dip2px(4), ScreenUtil.dip2px(1), ScreenUtil.dip2px(4), ScreenUtil.dip2px(1));
setGravity(Gravity.CENTER);
// TextViewCompat.setAutoSizeTextTypeWithDefaults(this,TextViewCompat.AUTO_SIZE_TEXT_TYPE_UNIFORM);
// TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(this,