Skip to content

Commit 224dfdd

Browse files
committed
Update readme
1 parent b2b550c commit 224dfdd

1 file changed

Lines changed: 38 additions & 5 deletions

File tree

README.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,56 @@
33
![Min SDK](https://img.shields.io/badge/Min%20Sdk-17-orange)
44
![Version](https://img.shields.io/badge/Version-v1.0.0--rc-blue)
55

6-
Slide button library for android
6+
Slide button library for android, we hope this library is useful and easy to customize as you needed.
7+
8+
9+
10+
# Gradle
11+
12+
```groovy
13+
...
14+
dependencies {
15+
16+
implementation 'id.ss564.lib.slidingbutton:slidingbutton:<latest-version>'
17+
18+
}
19+
...
20+
```
21+
22+
23+
24+
25+
26+
# How To Use
27+
In your layout.xml file, add this view
28+
29+
```xml
30+
<id.ss564.lib.slidingbutton.SlidingButton
31+
android:id="@+id/slidingButton"
32+
android:layout_width="match_parent"
33+
android:layout_height="wrap_content"
34+
/>
35+
```
36+
37+
38+
39+
740

841
# License
942
MIT License
10-
43+
1144
Copyright (c) 2020 Source Set 564 Contributors
12-
45+
1346
Permission is hereby granted, free of charge, to any person obtaining a copy
1447
of this software and associated documentation files (the "Software"), to deal
1548
in the Software without restriction, including without limitation the rights
1649
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1750
copies of the Software, and to permit persons to whom the Software is
1851
furnished to do so, subject to the following conditions:
19-
52+
2053
The above copyright notice and this permission notice shall be included in all
2154
copies or substantial portions of the Software.
22-
55+
2356
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2457
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2558
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

0 commit comments

Comments
 (0)