We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0e1e51 + f26036e commit e8bbeecCopy full SHA for e8bbeec
2 files changed
loadtoast/src/main/java/net/steamcrafted/loadtoast/LoadToast.java
@@ -63,6 +63,11 @@ public LoadToast setTextColor(int color){
63
return this;
64
}
65
66
+ public LoadToast setTextTypeface(Typeface font){
67
+ mView.setTextTypeface(font);
68
+ return this;
69
+ }
70
+
71
public LoadToast setBackgroundColor(int color){
72
mView.setBackgroundColor(color);
73
loadtoast/src/main/java/net/steamcrafted/loadtoast/LoadToastView.java
@@ -112,6 +112,10 @@ public void setTextColor(int color){
112
textPaint.setColor(color);
113
114
115
+ public void setTextTypeface(Typeface font){
116
+ textPaint.setTypeface(font);
117
118
119
public void setBackgroundColor(int color){
120
backPaint.setColor(color);
121
iconBackPaint.setColor(color);
0 commit comments