Skip to content

Commit 5049e90

Browse files
committed
Fixed readme
1 parent 6ffac8c commit 5049e90

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
[![Download](https://api.bintray.com/packages/nikart/maven/StripedProcessButton/images/download.svg) ](https://bintray.com/nikart/maven/StripedProcessButton/_latestVersion) [![](https://jitpack.io/v/nikartm/StripedProcessButton.svg)](https://jitpack.io/#nikartm/StripedProcessButton) [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-StripedProcessButton-green.svg?style=flat )]( https://android-arsenal.com/details/1/7623 ) [![Donate using PayPal](https://img.shields.io/badge/paypal-donate-blue.svg) ](https://www.paypal.me/ivodyasov)
1+
[![Maven Central](https://img.shields.io/maven-central/v/io.github.nikartm/image-support.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.nikartm%22%20AND%20a:%22image-support%22) [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-StripedProcessButton-green.svg?style=flat )]( https://android-arsenal.com/details/1/7623 )
22

33
# StripedProcessButton
44
Library for creating process loading button with stripes
5+
56
## Download
67
Add to gradle root:
78
```
8-
buildscript {
9-
repositories {
10-
jcenter()
11-
}
9+
allprojects {
10+
repositories {
11+
mavenCentral()
12+
}
1213
}
1314
```
14-
Download:
15+
16+
#### After migrating to MavenCentral, use Groove:
1517
```
16-
implementation 'com.github.nikartm:process-button:1.0.1'
18+
implementation 'io.github.nikartm:process-button:$LAST_VERSION'
1719
```
18-
AndroidX support:
20+
Or Kotlin DSL:
1921
```
20-
implementation 'com.github.nikartm:process-button:2.0.0'
22+
implementation("io.github.nikartm:process-button:$LAST_VERSION")
2123
```
2224

2325
## Screenshots
@@ -26,7 +28,7 @@ implementation 'com.github.nikartm:process-button:2.0.0'
2628
Adjust the xml view [More examples.](https://github.com/nikartm/StripedProcessButton/blob/master/app/src/main/res/layout/activity_main.xml):
2729
```
2830
<com.github.nikartm.support.StripedProcessButton
29-
android:id="@+id/btn_4"
31+
android:id="@+id/stripedButton"
3032
android:layout_width="match_parent"
3133
android:layout_height="wrap_content"
3234
android:layout_marginBottom="8dp"
@@ -54,11 +56,11 @@ stripedButton.setCornerRadius(50)
5456
.setStripeRevert(true)
5557
.setStripeGradient(false)
5658
.setTilt(15)
57-
.start();
59+
.start()
5860
```
5961

6062
## License
61-
Copyright 2018 Ivan Vodyasov
63+
Copyright 2022 Ivan Vodyasov
6264

6365
Licensed under the Apache License, Version 2.0 (the "License");
6466
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)