Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
close #6
  • Loading branch information
yuzumone committed Feb 3, 2017
1 parent 8803dee commit 84820fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ To set text of the button you use the setTrueText or setFalseText functionality

### XML
```xml
app:trueString="True"
app:trueText="True"
or
app:trueStringRes="@string/true_string"
app:trueTextRes="@string/true_string"
```

### Java
```java
stateButton.setTrueString("True");
stateButton.setTrueText("True");
or
stateButton.setTrueStringRes();
stateButton.setTrueText(R.string.true_string);
```

## OnStateButtonListener
Expand Down

0 comments on commit 84820fc

Please sign in to comment.