Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagumennyi Evgenii committed Jan 9, 2017
1 parent 6593959 commit 07c45de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies {
Usage
-----

SwitchIconView extends from ImageView so you can set icon with ```android:src``` or ```pp:srcCompat```
SwitchIconView extends from ImageView so you can set icon with ```android:src``` or ```app:srcCompat```

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

Expand All @@ -51,10 +51,10 @@ Fully customized implementation:
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:src="@drawable/ic_cloud"
app:si_animation_duration="500"
app:si_disabled_alpha=".5"
app:si_tint_color="#ff3c00"
app:srcCompat="@drawable/ic_cloud"/>
app:si_tint_color="#ff3c00"/>
```

Public methods:
Expand Down

0 comments on commit 07c45de

Please sign in to comment.