From 411b8e1ebc7a5f14dfb50f63e0871414422166bb Mon Sep 17 00:00:00 2001 From: GrenderG Date: Sun, 5 Sep 2021 23:52:15 +0200 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ea2ba0..96379fd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Add this to your module's `build.gradle` file (make sure the version matches the ```gradle dependencies { ... - implementation 'com.github.GrenderG:Toasty:1.5.0' + implementation 'com.github.GrenderG:Toasty:1.5.2' } ``` @@ -43,6 +43,8 @@ Toasty.Config.getInstance() .setToastTypeface(@NonNull Typeface typeface) // optional .setTextSize(int sizeInSp) // optional .allowQueue(boolean allowQueue) // optional (prevents several Toastys from queuing) + .setGravity(boolean isRTL, int xOffset, int yOffset) // optional (set toast gravity, offsets are optional) + .supportDarkTheme(boolean isRTL) // optional (whether to support dark theme or not) .setRTL(boolean isRTL) // optional (icon is on the right) .apply(); // required ```