@@ -6,14 +6,15 @@ SimpleToast
66
77Notifications for Android (like a Toast)
88
9- Current version: v1.4
9+ Current version: v1.6
1010
1111Example
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
1920Gradle
@@ -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
3435Usage
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
4648Using [ 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
5356Use this link for icons:
5457http://fortawesome.github.io/Font-Awesome/icons/
0 commit comments