Skip to content

Commit 55cf12e

Browse files
committed
Update README.md
1 parent 065f8d6 commit 55cf12e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ cb_image - image source {format - drawable or color} <br>
5151
cb_image_normal - normal state image source (if you choose cb_image, it will be override) {format - drawable or color} <br>
5252
cb_image_disabled - disabled state image source (if you choose cb_image, it will be override) {format - drawable or color} <br>
5353
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>
5458
cb_image_padding - {format - dimension} <br>
5559
cb_image_padding_left - {format - dimension} <br>
5660
cb_image_padding_top - {format - dimension} <br>
@@ -89,6 +93,10 @@ setTextPadding(int[] padding) - int[4]{CustomButton.LEFT, CustomButton.TOP, Cust
8993
setTextParams(int weight, int[] padding)
9094
setImage(int position, Drawable drawableNormal, Drawable drawablePressed, Drawable drawableDisabled, ImageView.ScaleType scaleType, int weight, int[] padding)
9195
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)
92100
setElevationEnabled(boolean enabled)
93101
and evry XML tag have getter
94102
```

0 commit comments

Comments
 (0)