We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a821f43 + 77873b7 commit e2af75bCopy full SHA for e2af75b
foldingtabbar/src/main/java/com/srx/widget/TabMainView.java
@@ -398,6 +398,15 @@ public void onUp(int position) {
398
public void setOnAnimationEndListener(OnAnimationEndListener animationEndListener) {
399
this.animationEndListener = animationEndListener;
400
}
401
+
402
+ public void setTabPaintColor(int tabbarMainColor , int tabbarSecondColor , int tabbarBackgroundColor ) {
403
404
+ colors[0] = getResources().getColor(tabbarMainColor);
405
+ colors[1] = getResources().getColor(tabbarSecondColor);
406
+ colors[2] = getResources().getColor(tabbarBackgroundColor);
407
+ invalidate();
408
409
+ }
410
411
public interface OnAnimationEndListener {
412
void onAnimationEnd();
0 commit comments