File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,6 @@ For example, we can build a card style background for RecyclerView:
15
15
16
16
And here has a [ demo apk] ( "SliceDemo.1.0.apk" ) , and it's [ source code] ( "SliceDemo.1.0.apk's source code"), very easy to understand~
17
17
18
- # Gradle
19
-
20
- At your top-level ` build.gradle ` file:
21
-
22
- repositories {
23
- // ...
24
- maven { url 'https://jitpack.io' }
25
- }
26
-
27
- And then at your project ` build.gradle ` file:
28
-
29
- dependencies {
30
- compile 'com.github.mthli:Slice:v1.0'
31
- }
32
-
33
- Done!
34
-
35
18
## API
36
19
37
20
- ` setRadius(float radiusDp) `
55
38
- ` showRightEdgeShadow(boolean show) ` only work for pre API 21.
56
39
57
40
- ` showBottomEdgeShadow(boolean show) ` only work for pre API 21.
41
+
42
+ ## Gradle
43
+
44
+ At your top-level ` build.gradle ` file:
45
+
46
+ repositories {
47
+ // ...
48
+ maven { url 'https://jitpack.io' }
49
+ }
50
+
51
+ And then at your project ` build.gradle ` file:
52
+
53
+ dependencies {
54
+ compile 'com.github.mthli:Slice:v1.0'
55
+ }
56
+
57
+ Done!
58
58
59
59
## License
60
60
You can’t perform that action at this time.
0 commit comments