Skip to content

Commit 4024182

Browse files
committed
Update README.md
1 parent 70dd43a commit 4024182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This is the base tag of CustomButton:
5252
android:text="text"/>
5353
```
5454
You can specify the following things:
55-
```java
55+
```
5656
cb_primary_color - you can specify only two colors for all button. This color was set to bacground state normal,
5757
frame and text sate pressed. But it will be override by background, text, frame color. {format - color}
5858
cb_secondary_color - you can specify only two colors for all button. This color was set to bacground state pressed, frame and text state normal. But it will be override by background, text, frame color. {format - color}
@@ -70,7 +70,7 @@ cb_text_padding_top - {format - dimension}
7070
cb_text_padding_right - {format - dimension}
7171
cb_text_padding_bottom - {format - dimension}
7272
cb_text_weight - {format - integer}
73-
cb_text_center or android:textAlignment - only works when image weight doesnt specify. Center text in button. {format - boolean or only "center" value}
73+
cb_text_center or android:textAlignment - only works when image weight doesn't specify. Center text in button. {format - boolean or only "center" value}
7474
7575
cb_shape_radius - corner radius {format - dimension}
7676
cb_shape_type - shape type, you can choose: rect or oval

0 commit comments

Comments
 (0)