@@ -51,6 +51,10 @@ cb_image - image source {format - drawable or color} <br>
51
51
cb_image_normal - normal state image source (if you choose cb_image, it will be override) {format - drawable or color} <br >
52
52
cb_image_disabled - disabled state image source (if you choose cb_image, it will be override) {format - drawable or color} <br >
53
53
cb_image_pressed - pressed state image source (if you choose cb_image, it will be override) {format - drawable or color} <br >
54
+ cb_image_color_normal - only for image {format - color} <br >
55
+ cb_image_color_pressed - only for image {format - color} <br >
56
+ cb_image_color_disable - only for image {format - color} <br >
57
+ cb_image_color_list - only for image {format - colorStateList} <br >
54
58
cb_image_padding - {format - dimension} <br >
55
59
cb_image_padding_left - {format - dimension} <br >
56
60
cb_image_padding_top - {format - dimension} <br >
@@ -89,6 +93,10 @@ setTextPadding(int[] padding) - int[4]{CustomButton.LEFT, CustomButton.TOP, Cust
89
93
setTextParams(int weight, int [] padding)
90
94
setImage(int position, Drawable drawableNormal, Drawable drawablePressed, Drawable drawableDisabled, ImageView . ScaleType scaleType, int weight, int [] padding)
91
95
setImage(int position, Drawable drawable, ImageView . ScaleType scaleType, int weight, int [] padding)
96
+ setImageColors(int nomal, int pressed, int disabled)
97
+ setImageNormalColor(int color)
98
+ setImagePressedColor(int color)
99
+ setImageDisableColor(int color)
92
100
setElevationEnabled(boolean enabled)
93
101
and evry XML tag have getter
94
102
```
0 commit comments