Skip to content

Commit

Permalink
modify readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Leaking committed Mar 7, 2015
1 parent 79bb6da commit 44d79c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
Binary file modified Example/TestLibs/res/drawable-hdpi/slide_a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Example/TestLibs/res/drawable-hdpi/slide_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ you can define a slideswitch in xml like the following example

```xml
<com.leaking.slideswitch.SlideSwitch
android:id="@+id/swit"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
slideswitch:isOpen="true"
slideswitch:baseColor="#ffff510e"
slideswitch:moveColor="#ffffff"
slideswitch:slideHeight="30dip"
slideswitch:slideWidth="80dip"
slideswitch:stillColor="#ffa3a3a3" >
android:layout_width="100dip"
android:layout_height="120dip"
slideswitch:isOpen="false"
slideswitch:shape="circle"
slideswitch:themeColor="#f200aa96" >
</com.leaking.slideswitch.SlideSwitch>
```

Expand Down Expand Up @@ -58,8 +54,8 @@ and you can listen to the change of the slideswitch like this
## What does it look like


<img src="https://github.com/Leaking/SlideSwitch/blob/master/Example/TestLibs/res/drawable-hdpi/slide_a.png" width="140" />
<img src="https://github.com/Leaking/SlideSwitch/blob/master/Example/TestLibs/res/drawable-hdpi/slide_b.png" width="140" />
<img src="https://github.com/Leaking/SlideSwitch/blob/master/Example/TestLibs/res/drawable-hdpi/slide_a.png" width="340" />
<img src="https://github.com/Leaking/SlideSwitch/blob/master/Example/TestLibs/res/drawable-hdpi/slide_b.png" width="340" />


##Author
Expand Down

0 comments on commit 44d79c1

Please sign in to comment.