Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagumennyi Evgenii authored Jan 8, 2017
1 parent a846665 commit 73ab642
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ todo

Usage
-----

Set icon (vector or image) to SwitchIconView and enjoy switchable icon in your app :)
Default implementation:

```xml
<com.github.zagum.switchicon.SwitchIconView
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
app:si_image="@drawable/ic_cloud"/>
```

Fully customized implementation:
Expand Down Expand Up @@ -71,7 +72,7 @@ Public methods:
public void switchState(boolean animate);
```

See [sample](todo) project for more information.
See [sample](https://github.com/zagum/Android-SwitchIcon/tree/master/switchicon-sample) project for more information.

TODO
-------
Expand Down

0 comments on commit 73ab642

Please sign in to comment.