Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelxs authored Jul 12, 2018
1 parent db44786 commit cb60c02
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ To remove all shape files from the project, provide a generic shape style button
</attr>
</declare-styleable>
```
## How to use
text style
```xml
<com.blue.view.CommonShapeButton
android:layout_width="300dp"
android:layout_height="50dp"
android:layout_margin="10dp"
android:text="text+corner+fill"
android:textColor="#fff"
app:csb_cornerRadius="50dp"
app:csb_fillColor="#00bc71" />
```
button style

0 comments on commit cb60c02

Please sign in to comment.