Skip to content

Commit

Permalink
sample updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zagum committed Jan 11, 2017
1 parent b03502a commit 5345d9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public void onClick(View v) {
@Override
public void onClick(View v) {
switchIcon2.switchState();
switchIcon1.setIconEnabled(!switchIcon1.isIconEnabled());
}
});
}
Expand Down
1 change: 1 addition & 0 deletions switchicon-sample/src/main/res/layout/activity_sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
app:si_animation_duration="500"
app:si_disabled_alpha=".5"
app:si_tint_color="#ff3c00"
app:si_enabled="false"
app:srcCompat="@drawable/ic_cloud"/>

<TextView
Expand Down

0 comments on commit 5345d9c

Please sign in to comment.