Skip to content

Commit 8f85a5c

Browse files
Update README.md
1 parent 48e09fd commit 8f85a5c

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

README.md

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
1-
Alert Dialog
1+
Alert Dialog ![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)
22
===================
33
Alert for Android, a beautiful and material alert dialog
44

5+
**Library available at JitPack.io**
6+
7+
[![](https://jitpack.io/v/TutorialsAndroid/KAlertDialog.svg)](https://jitpack.io/#TutorialsAndroid/KAlertDialog)
8+
9+
## Important
10+
11+
**Note this library was made in the making for `Kinda` app this library was copied from `sweet-alert-dialog` repository on github we made this library because we want to use own library on `Kinda` app.So this library is in development we will monthly
12+
update this library with some changes.**
13+
514
## ScreenShot
6-
![image]()
15+
![](https://github.com/TutorialsAndroid/KAlertDialog/blob/master/art/device-2019-03-23-132617.png)
716

817
## Setup
918
The simplest way to use AlertDialog is to add the library as aar dependency to your build.
1019

11-
**Gradle**
20+
## Gradle
1221

13-
22+
Add it in your root build.gradle at the end of repositories:
23+
24+
allprojects {
25+
repositories {
26+
...
27+
maven { url 'https://jitpack.io' }
28+
}
29+
}
30+
31+
Step 2. Add the dependency
32+
33+
dependencies {
34+
implementation 'com.github.TutorialsAndroid:KAlertDialog:v1.0'
35+
}
1436

1537
## Usage
1638

17-
show material progress
39+
**Show material progress**
1840

1941
KAlertDialog pDialog = new KAlertDialog(this, KAlertDialog.PROGRESS_TYPE);
2042
pDialog.getProgressHelper().setBarColor(Color.parseColor("#A5DC86"));
@@ -44,10 +66,6 @@ You can customize progress bar dynamically with materialish-progress methods via
4466
- getSpinSpeed()
4567
- setSpinSpeed(float spinSpeed)
4668

47-
48-
49-
more usages about progress, please see the sample.
50-
5169
A basic message:
5270

5371
new KAlertDialog(this)
@@ -139,3 +157,23 @@ Show the cancel button and bind listener to it:
139157
}
140158
})
141159
.show();
160+
161+
## License
162+
163+
* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
164+
165+
```
166+
Copyright 2019 KAlertDialog
167+
168+
Licensed under the Apache License, Version 2.0 (the "License");
169+
you may not use this file except in compliance with the License.
170+
You may obtain a copy of the License at
171+
172+
http://www.apache.org/licenses/LICENSE-2.0
173+
174+
Unless required by applicable law or agreed to in writing, software
175+
distributed under the License is distributed on an "AS IS" BASIS,
176+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
177+
See the License for the specific language governing permissions and
178+
limitations under the License.
179+

0 commit comments

Comments
 (0)