Skip to content

Commit 9f9eae8

Browse files
committed
Merge branch 'master' of https://github.com/Pierry/SimpleToast
2 parents a381009 + 423c62d commit 9f9eae8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ SimpleToast
66

77
Notifications for Android (like a Toast)
88

9-
Current version: v1.4
9+
Current version: v1.6
1010

1111
Example
1212
===========
1313
![alt tag](https://raw.githubusercontent.com/Pierry/SimpleToast/master/screentshots/cancel.png)
1414
![alt tag](https://raw.githubusercontent.com/Pierry/SimpleToast/master/screentshots/ok.png)
1515
![alt tag](https://raw.githubusercontent.com/Pierry/SimpleToast/master/screentshots/info.png)
1616
![alt tag](https://raw.githubusercontent.com/Pierry/SimpleToast/master/screentshots/muted.png)
17+
![alt tag](https://raw.githubusercontent.com/Pierry/SimpleToast/master/screentshots/warning.png)
1718

1819

1920
Gradle
@@ -26,10 +27,10 @@ Into your build.gradle:
2627
}
2728

2829
dependencies {
29-
compile 'com.github.Pierry:SimpleToast:v1.4'
30+
compile 'com.github.Pierry:SimpleToast:v1.6'
3031
}
3132

32-
Ref. https://jitpack.io/#Pierry/SimpleToast/v1.4
33+
Ref. https://jitpack.io/#Pierry/SimpleToast/v1.6
3334

3435
Usage
3536
=============
@@ -42,13 +43,15 @@ Create a SimpleToast for any CharSequence with default icon:
4243
SimpleToast.error(Context, CharSequence);
4344
SimpleToast.info(Context, CharSequence);
4445
SimpleToast.muted(Context, CharSequence);
46+
SimpleToast.warning(Context, CharSequence);
4547

4648
Using [Font Awesome](http://fortawesome.github.io/Font-Awesome/icons/):
4749

4850
SimpleToast.ok(Context, CharSequence, "{fa-home}");
4951
SimpleToast.error(Context, CharSequence, "{fa-user}");
5052
SimpleToast.info(Context, CharSequence, "{fa-check-square}");
5153
SimpleToast.muted(Context, CharSequence, "{fa-github}");
54+
SimpleToast.warning(Context, CharSequence, "{fa-exclamation-circle}");
5255

5356
Use this link for icons:
5457
http://fortawesome.github.io/Font-Awesome/icons/

0 commit comments

Comments
 (0)