Skip to content

Commit faedf4a

Browse files
committed
Update README.md
1 parent 742a776 commit faedf4a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ For creating facebook button you must only do this:
3939
```
4040

4141
<h2> Reference </h2>
42-
<p> Default image position is left and centered text in button. When image is bigger than half of width, weight automatically is setting to 1. <br>
42+
<p> Default image position is left and centered text in button. <br>
43+
When image is bigger than half of width, weight automatically is setting to 1. <br>
4344
Only when image is in horizontal position text can be center. </p>
4445
<h3> XML tag's </h3>
4546

@@ -52,8 +53,9 @@ This is the base tag of CustomButton:<br>
5253
android:text="text"/>
5354
```
5455
<p> You can specify the following things: <br>
55-
cb_primary_color - you can specify only two colors for all button. But it will be override by background, text, frame color. {format - color} <br>
56-
cb_secondary_color - you can specify only two colors for all button. But it will be override by background, text, frame color. {format - color} <br>
56+
cb_primary_color - you can specify only two colors for all button. This color was set to bacground state normal, <br>
57+
frame and text sate pressed. But it will be override by background, text, frame color. {format - color} <br>
58+
cb_secondary_color - you can specify only two colors for all button. This color was set to bacground state pressed, <br> frame and text state normal. But it will be override by background, text, frame color. {format - color} <br>
5759
cb_background - background color of normal button {format - color} <br>
5860
cb_background_pressed - background color of pressed button {format - color} <br>
5961
cb_background_disabled - background color of disabled button {format - color} <br>

0 commit comments

Comments
 (0)