Custom toasts with color and icon for Android.

Overview

Dynamic Toasts

License Build Status Download

A simple library to display themed toasts with icon and text on Android 2.3 (API 9) and above devices.

Since v0.4.0, it uses 26.x.x support libraries so, minimum SDK will be Android 4.0 (API 14).
Since v2.0.0, it uses AndroidX so, first migrate your project to AndroidX.


Contents


Installation

It can be installed by adding the following dependency to your build.gradle file:

dependencies {
    // For AndroidX enabled projects.
    implementation 'com.pranavpandey.android:dynamic-toasts:3.3.1'

    // For legacy projects.
    implementation 'com.pranavpandey.android:dynamic-toasts:1.3.0'
}

Usage

It has several method to display toasts based on the requirement. Each method returns a Toast object which can be customised further.

Please call show() method to display the toast.

For complete reference, please read the documentation.

Configuration

Optional configuration to customise the toasts further like custom background color or drawable, custom text size, typeface or icon size, etc.

Various methods can be called anywhere in the app to do customisations.

DynamicToast.Config.getInstance()
    // Background color for default toast.
    .setDefaultBackgroundColor(@ColorInt int defaultBackgroundColor)
    // Tint color for default toast.
    .setDefaultTintColor(@ColorInt int defaultTintColor)
    // Background color for error toast.
    .setErrorBackgroundColor(@ColorInt int errorBackgroundColor)
    // Background color for success toast.
    .setSuccessBackgroundColor(@ColorInt int successBackgroundColor)
    // Background color for warning toast.
    .setWarningBackgroundColor(@ColorInt int warningBackgroundColor)
    // Custom icon for error toast. Pass `null` to use default icon.
    .setErrorIcon(@Nullable Drawable errorIcon)
    // Custom icon for success toast. Pass `null` to use default icon.
    .setSuccessIcon(@Nullable Drawable successIcon)
    // Custom icon for warning toast. Pass `null` to use default icon.
    .setWarningIcon(@Nullable Drawable warningIcon)
    // Disable icon for all the toasts.
    .setDisableIcon(boolean disableIcon)
    // Custom icon size in `pixels` for all the toasts.
    .setIconSize(int iconSize)
    // Custom text size in `SP` for all the toasts.
    .setTextSize(int textSize)
    // Custom text typeface for all the toasts. Pass `null` to use system typeface.
    .setTextTypeface(@Nullable Typeface textTypeface)
    // Custom background drawable for all the toasts. Pass `null` to use default background.
    .setToastBackground(@Nullable Drawable toastBackground)
    // Apply customisations.
    .apply();

Call reset() method to reset all the customisations.

// Reset customisations.
DynamicToast.Config.getInstance().reset();

Default toast

Simple toast based on the vanilla Android theme for Toast.LENGTH_SHORT duration.

DynamicToast.make(context, "Default toast").show();

Default toast with duration

Simple toast based on the vanilla Android theme for supplied duration.

DynamicToast.make(context, "Default toast with duration", duration).show();

Default toast with icon

Simple toast based on the vanilla Android theme with a icon for Toast.LENGTH_SHORT duration.

DynamicToast.make(context, "Default toast with icon", drawable).show();

Default toast with icon and duration

Simple toast based on the vanilla Android theme with a icon for supplied duration.

DynamicToast.make(context, "Default toast with icon and duration", drawable, duration).show();

Error toast

Error toast with #F44336 background for Toast.LENGTH_SHORT duration.

DynamicToast.makeError(context, "Error toast").show();

Error toast with duration

Error toast with #F44336 background for supplied duration.

DynamicToast.makeError(context, "Error toast with duration", duration).show();

Success toast

Success toast with #4CAF50 background for Toast.LENGTH_SHORT duration.

DynamicToast.makeSuccess(context, "Success toast").show();

Success toast with duration

Success toast with #4CAF50 background for supplied duration.

DynamicToast.makeSuccess(context, "Success toast with duration", duration).show();

Warning toast

Warning toast with #FFEB3B background for Toast.LENGTH_SHORT duration.

DynamicToast.makeWarning(context, "Warning toast").show();

Warning toast with duration

Warning toast with #FFEB3B background for supplied duration.

DynamicToast.makeWarning(context, "Warning toast with duration", duration).show();

Custom toast

Custom toast based on the supplied background and tint color for Toast.LENGTH_SHORT duration.

DynamicToast.make(context, "Custom toast", tintColor, backgroundColor).show();

Custom toast with duration

Custom toast based on the supplied background and tint color for supplied duration.

DynamicToast.make(context, "Custom toast with duration", tintColor, backgroundColor, duration).show();

Custom toast with icon

Custom toast based on the supplied icon, background and tint color theme for Toast.LENGTH_SHORT duration.

DynamicToast.make(context, "Custom toast with icon", drawable, tintColor, backgroundColor).show();

Custom toast with icon and duration

Custom toast based on the supplied icon, background and tint color theme for supplied duration.

DynamicToast.make(context, "Custom toast with icon and duration", drawable, 
        tintColor, backgroundColor, duration).show();

Cheat sheets

Use dynamic hint to display cheat sheets for any view. All the methods are same as explained above, just replace DynamicToast with DynamicHint to create a cheat sheet.

Use DynamicHint.show(view, toast) method to display it according to the anchor view position.

Dependency

It depends on the dynamic-utils to perform various internal operations. So, its functions can also be used to perform other useful operations.


Author

Pranav Pandey

GitHub Follow on Twitter Donate via PayPal


License

Copyright 2017-2021 Pranav Pandey

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • Not working

    Not working

    Dear @pranavpandey

    I am trying to use this framework in order to create a toast error message,

                        DynamicToast.makeError(context, "Email or Password not valid").show();
    

    but this is the error I got:

    E/AndroidRuntime: FATAL EXCEPTION: main
                      Process: com.example.vaevictis.myapplication, PID: 10187
                      java.lang.NoClassDefFoundError: Failed resolution of: Lcom/pranavpandey/android/dynamic/utils/DynamicColorUtils;
                          at com.pranavpandey.android.dynamic.toasts.DynamicToast.makeError(DynamicToast.java:241)
                          at com.example.vaevictis.myapplication.user.UserController$1.onResponse(UserController.java:49)
                          at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70)
                          at android.os.Handler.handleCallback(Handler.java:751)
                          at android.os.Handler.dispatchMessage(Handler.java:95)
                          at android.os.Looper.loop(Looper.java:154)
                          at android.app.ActivityThread.main(ActivityThread.java:6121)
                          at java.lang.reflect.Method.invoke(Native Method)
                          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
                          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
                       Caused by: java.lang.ClassNotFoundException: Didn't find class "com.pranavpandey.android.dynamic.utils.DynamicColorUtils" on path: DexPathList[[zip file "/data/app/com.example.vaevictis.myapplication-1/base.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.vaevictis.myapplication-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.vaevictis.myapplication-1/lib/arm64, /system/lib64, /vendor/lib64]]
                          at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
                          at com.pranavpandey.android.dynamic.toasts.DynamicToast.makeError(DynamicToast.java:241) 
                          at com.example.vaevictis.myapplication.user.UserController$1.onResponse(UserController.java:49) 
                          at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70) 
                          at android.os.Handler.handleCallback(Handler.java:751) 
                          at android.os.Handler.dispatchMessage(Handler.java:95) 
                          at android.os.Looper.loop(Looper.java:154) 
                          at android.app.ActivityThread.main(ActivityThread.java:6121) 
                          at java.lang.reflect.Method.invoke(Native Method) 
                          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) 
                          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) 
    
    

    Any clue of what can cause the problem?

    opened by FrancescoSaverioZuppichini 8
  • update a toast

    update a toast

    how can update a DynamicToast? i have multiple toast and we need to show it in default of dynamic toast it show consequently and for example for 10 toast it show for 1 minute and one by one. but we need update last toast to new toast text and style. how can i do this?

    opened by Mahdiazadbar 2
  • No static method getFont

    No static method getFont

    Hello Dear i want to use this library in my project . add in to dependencies and sync successfully . and use this command in my project like this : DynamicToast.makeError(getApplicationContext(), "Error Message", Toast.LENGTH_SHORT).show();

    and after run project , i faced "unfortunately app has stopped" . after that i read logs and see this error :

    FATAL EXCEPTION: main Process: com.example.mohammad_pc.crm_android,PID:29510java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' appears in /data/app/com.example.mohammad_pc.crm_android-1/base.apk)

    what is this ? guide me please thank you

    opened by mrmosi13 2
  • [Seggestion] for support systemlessly

    [Seggestion] for support systemlessly

    Hi developer can you make such toast and custom toast style Xposed Module..

    Xposed framework work on system to change any thing without touching apk.. You can use as LSposed module. Hope you understand

    opened by araafroyall 0
  • Request: support Android 11 (R - API 31)

    Request: support Android 11 (R - API 31)

    Sadly on Android R, you can't set a custom View for a Toast (when targeting API 31) :

    https://developer.android.com/reference/android/widget/Toast#setView(android.view.View) https://developer.android.com/reference/android/widget/Toast#getView()

    Please offer something that mimics the standard Toast's look&feel, so that at least we could have it shown within the app, as a normal View. Maybe something similar to what we have when we long press the action items on the toolbar:

    dfu6CwFaPM.zip

    Custom Toasts are useful anyway usually only when the user is inside the app...

    opened by AndroidDeveloperLB 1
Releases(v4.1.2)
  • v4.1.2(Jun 16, 2022)

    • pranavpandey/dynamic-toasts@cd1c3b3613728b490a638ac77cb0ec8bb3ffd17a - Updated target SDK to 33.
    • pranavpandey/dynamic-toasts@cd1c3b3613728b490a638ac77cb0ec8bb3ffd17a - Updated dynamic-utils to 4.4.3.
    • pranavpandey/dynamic-toasts@115806a79be24071ac37605e6f44266e512f9be9 - Updated gradle plugin to 7.4.0-alpha03.
    Source code(tar.gz)
    Source code(zip)
    dynamic-toasts.apk(4.36 MB)
  • v4.1.1(May 29, 2022)

    • pranavpandey/dynamic-toasts@a3f96976840949406490b4c92aae2b68f7462f54 - Updated target SDK to 32.
    • pranavpandey/dynamic-toasts@a3f96976840949406490b4c92aae2b68f7462f54 - Updated dynamic-utils to 4.4.2.
    • pranavpandey/dynamic-toasts@cc8b410b531925b0356f7c0e6bcc3382c9197499 - Updated gradle plugin to 7.3.0-alpha09.
    Source code(tar.gz)
    Source code(zip)
  • v4.1.0(Aug 8, 2021)

    • pranavpandey/dynamic-toasts@b7be02efe1310eb30403a347b3e900b5b6189058 - Updated target SDK to 31.
    • pranavpandey/dynamic-toasts@2b47a9bbd2fa2e5a3163aefd5e9d6105574ea361 - Updated dynamic-utils to 4.2.0.
    • pranavpandey/dynamic-toasts@e71c9925ec98b88ac8d9afbaad8fda14a31bc05b - Updated gradle plugin to 7.1.0-alpha06.
    Source code(tar.gz)
    Source code(zip)
  • v4.0.0(Jun 17, 2021)

  • v3.3.1(Jan 30, 2021)

  • v3.3.0(Jan 29, 2021)

    • pranavpandey/dynamic-toasts@8791b33dfe49bbed3908f025b17e99eb5dcfa2de - Updated target SDK to 30.
    • pranavpandey/dynamic-toasts@e5e5a79fd77515d6205c022494686550d96e1e5f - Updated dynamic-utils to 3.4.0.
    • pranavpandey/dynamic-toasts@d2bffbef1515849f31d45310828156d220ac0b6a - Updated gradle plugin to 7.0.0-alpha05.

    As Android is moving away from custom toasts, the use of this library is not recommended. However, it can still be used as long as the app is in the foreground. Currently, I am using an alternate way (based on app compat) to show custom tooltips in my apps and I will try to include it in the future updates of this library.

    Source code(tar.gz)
    Source code(zip)
  • v3.2.0(Mar 12, 2020)

    • pranavpandey/dynamic-toasts@e5e5a79fd77515d6205c022494686550d96e1e5f - Updated dynamic-utils to 3.2.0.
    • pranavpandey/dynamic-toasts@d2bffbef1515849f31d45310828156d220ac0b6a - Updated gradle plugin to 4.1.0-alpha02.
    • pranavpandey/dynamic-toasts@bf77b9dab0d365b533b42399d4ff4209aa9c9038 - Added xxxhdpi drawable resources.
    Source code(tar.gz)
    Source code(zip)
  • v3.1.0(Feb 3, 2020)

    • pranavpandey/dynamic-toasts@df23382d7a26c060ca1572582051bdc286155330 - Updated dynamic-utils to 3.1.0.
    • pranavpandey/dynamic-toasts@d8b883b4ae93ee04093ae0b07d55ef36e091e715 - Updated gradle plugin to 4.0.0-alpha09.
    Source code(tar.gz)
    Source code(zip)
  • v3.0.1(Oct 23, 2019)

    • pranavpandey/dynamic-toasts@ba6e630603209822d08b80ffb79332c1f76201da - Updated dynamic-utils to 3.0.2.
    • pranavpandey/dynamic-toasts@ba6e630603209822d08b80ffb79332c1f76201da - Updated sample dependencies.
    Source code(tar.gz)
    Source code(zip)
  • v3.0.0(Oct 4, 2019)

    • pranavpandey/dynamic-toasts@066077de0893526a8c2671d47f1dcb9ce4df099a - Updated dynamic-utils to 3.0.0.
    • pranavpandey/dynamic-toasts@f6bd0fb98381e0384a210a2dcd5db7be4ce490e4 - Updated gradle plugin to 3.6.0-alpha12.
    • pranavpandey/dynamic-toasts@83db5120d73a817d3b3089ed8ece30bd8aee9f9e pranavpandey/dynamic-toasts@2b1d85a357bd19e18b38f485f43edc99fa5e705a - Added support for API 29.
    • pranavpandey/dynamic-toasts@2c5a1d5b013556200d1454b7fd8a28898f0701a1 - Improved hint location.
    Source code(tar.gz)
    Source code(zip)
  • v2.3.0(Mar 17, 2019)

    • pranavpandey/dynamic-toasts@f58d372745fe5b0f35a4359a6a0841eaff84699d - Updated dynamic-utils to 2.3.0.
    • pranavpandey/dynamic-toasts@df8d4a2aa395b09bc53bbd75b7d8e85503b10f5c - Updated gradle plugin to 3.5.0-alpha07.
    • pranavpandey/dynamic-toasts@b5815af4d6641418fdf9a974dc0fb26ee493b1f1 - Addressed bad token exception on Android N devices.
    Source code(tar.gz)
    Source code(zip)
  • v2.2.1(Jan 22, 2019)

    • pranavpandey/dynamic-toasts@5674a130019db23fed6763f3e56befd7a3c74c87 - Updated dynamic-utils to 2.2.0.
    • pranavpandey/dynamic-toasts@2c94c2816b3d76e1ba6a9b1b352e900517354644 - Updated gradle plugin to 3.5.0-alpha01.
    Source code(tar.gz)
    Source code(zip)
  • v2.2.0(Jan 11, 2019)

    • pranavpandey/dynamic-toasts@5c3466a427602660896bce95049e164abc4e6472 - Improved RTL support.
    • pranavpandey/dynamic-toasts@001581684cc4913094fc01c1cccaa21a51aa660a - Updated gradle plugin to 3.4.0-alpha10.
    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Dec 21, 2018)

    • pranavpandey/dynamic-toasts@6dd236a334e8112b79483c289d5e30d67a0444e8 - Updated dynamic-utils to 2.1.1.
    • pranavpandey/dynamic-toasts@d42f761782e3de7f497442a3a60b31be45840798 - Added display cutout support for hint.
    • pranavpandey/dynamic-toasts@1ecbb7855802526df0cca96220dc8df3b8f9c826 - Updated gradle plugin to 3.4.0-alpha09.
    Source code(tar.gz)
    Source code(zip)
  • v2.1.0(Dec 16, 2018)

    • pranavpandey/dynamic-toasts@f402c67ad1a6f9852eb917f9f2a65d9e5d4ff4cc - Refactored dependencies.
    • pranavpandey/dynamic-toasts@f402c67ad1a6f9852eb917f9f2a65d9e5d4ff4cc - Updated dynamic-utils to 2.1.0.
    • pranavpandey/dynamic-toasts@f307acebe3189e7bd08c2268d318e9102f93b381 - Improved toast and hint layout.
    • pranavpandey/dynamic-toasts@7d37cbf6c09461f0d009df9d6587aa0569f90462 - Updated gradle plugin to 3.4.0-alpha08.

    Internally used support packages are now available as API. Include them explicitly in build.gradle file to use any other version.

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Nov 9, 2018)

    • pranavpandey/dynamic-toasts@45b08fbba7474cc2c0da04db3dc6e7609e924901 - Migrated to AndroidX.
    • pranavpandey/dynamic-toasts@45b08fbba7474cc2c0da04db3dc6e7609e924901 - Updated dynamic-utils to 2.0.0.
    • pranavpandey/dynamic-toasts@45b08fbba7474cc2c0da04db3dc6e7609e924901 - Improved javadocs generation.
    • pranavpandey/dynamic-toasts@6772c9a659acd29d7d7c6088a402522ecb0a9d1b - Updated gradle plugin to 3.4.0-alpha02.

    Migrate your project to AndroidX before using this version.

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Sep 24, 2018)

    • pranavpandey/dynamic-toasts@ef42433108d51520e3da506c39604d6acb83cfff - Updated dynamic-utils to 1.3.0.
    • pranavpandey/dynamic-toasts@7ca5693148718d25bf81b59a6b05bf1c008620e0 - Updated support library to 28.0.0.
    • pranavpandey/dynamic-toasts@89089363323a0516799504a978a031d446809a42 - Updated gradle plugin to 3.3.0-alpha11.
    • pranavpandey/dynamic-toasts@ae07fe6361914e1fa9a853379a9115e23f0b6296 - Improved toast and hint layout.
    • pranavpandey/dynamic-toasts@b6a17f9bdade136fb6cead7504916bd7a10ff6e5 - Updated build tools to 28.0.2.
    • pranavpandey/dynamic-toasts@8c7f1e676b0f9b4ab4bd421b096ca9fe156b042a - Removed unused dependency.
    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Jul 3, 2018)

    • pranavpandey/dynamic-toasts@f158ceeced227f114478ccef26238b720045fccf - Updated dynamic-utils to 1.2.0.
    • pranavpandey/dynamic-toasts@f158ceeced227f114478ccef26238b720045fccf - Updated build tools to 28.0.1.
    • pranavpandey/dynamic-toasts@aa92d303de171ad27e24f19c3cdcded0a93f2a27 - Updated gradle plugin to 3.3.0-alpha01.
    • pranavpandey/dynamic-toasts@e0a6272c6a16faa39f6f0b6b56b126bce3936042 - Improved javadocs generation.
    • pranavpandey/dynamic-toasts@8f59f0c7e09b961723ec84f3e34ccf28152e5d44 - Updated target SDK to 28.
    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(Jun 6, 2018)

    • pranavpandey/dynamic-toasts@1a5b67fce61b65e58f6e14068c3f600ade915df0 - Updated dynamic-utils to 1.1.1.
    • pranavpandey/dynamic-toasts@1a5b67fce61b65e58f6e14068c3f600ade915df0 - Updated gradle plugin to 3.2.0-alpha16.
    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Apr 11, 2018)

    • pranavpandey/dynamic-toasts@592e315fe5448e8c9f612403f06f3c6c5c8bb9b3 - Updated dynamic-utils to 1.1.0.
    • pranavpandey/dynamic-toasts@4b6acab0f28729b8c6f06544965939ef6a70ef99 - Updated support library to 27.1.1.
    • pranavpandey/dynamic-toasts@d327da08f8d09dd871d3506bfb21b857e4ee9c05 - Updated gradle plugin to 3.2.0-alpha10.
    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Mar 10, 2018)

    • pranavpandey/dynamic-toasts@eda557423927dd006d0c221677b753e1fee047f9 - Updated dynamic-utils to 1.0.0.
    • pranavpandey/dynamic-toasts@360aae671be363bef7bba08101b50184ab2705f8 - Updated support library to 27.1.0.
    • pranavpandey/dynamic-toasts@360aae671be363bef7bba08101b50184ab2705f8 - Updated gradle plugin to 3.2.0-alpha05.
    Source code(tar.gz)
    Source code(zip)
  • v0.9.0(Feb 11, 2018)

    • pranavpandey/dynamic-toasts@8989eae5913cc332592d4107d6ca1509c3e6e8d9 - Updated dynamic-utils to 0.9.0.
    • pranavpandey/dynamic-utils@c40fe978f99f12b4911c4dc81622f57c9429e5e5 - Fixed background tinting on Android N (API 24) devices.
    • pranavpandey/dynamic-toasts@a7523f589efaf3daad6eda9bcda19d4815e9a7c8 - Improved sample layout.
    • pranavpandey/dynamic-toasts@58458bfc85a83e8ac699494e22009172d8cedcc6 - Updated gradle plugin to 3.2.0-alpha02.
    • pranavpandey/dynamic-toasts@5d59f75d947e9f891942319321daca7f76b70e17 - Improved method to show hint.
    • pranavpandey/dynamic-toasts@6ffb05852dbb4293950b33c814fb9432b6221932 - Added adaptive launcher icon for sample.
    • pranavpandey/dynamic-toasts@dd99ef30a3f08c258095e09031998d9b58d08cc1 - Improved hint background.
    Source code(tar.gz)
    Source code(zip)
  • v0.8.0(Jan 18, 2018)

    • pranavpandey/dynamic-toasts@7bc0df3b994c2c9089b94dac57bde1cd6221899c - Updated dynamic-utils to 0.8.0.
    • pranavpandey/dynamic-toasts@e5c649a0b482ddc585904467725cdac7298997a7 - Updated gradle plugin to 3.2.0-alpha02.
    • pranavpandey/dynamic-toasts@1322a058b7d2e3f52928c792b65abbff66285fbf - Updated build tools to 27.0.3.
    Source code(tar.gz)
    Source code(zip)
  • v0.7.0(Dec 1, 2017)

    • pranavpandey/dynamic-toasts@103c79a097bd6823f20adf27ef498582c58afe26 - Fixed issue #1.
    • pranavpandey/dynamic-toasts@497992664439ed87fbb9f9d9995aba596e6e0998 - Updated target SDK to 27.
    • pranavpandey/dynamic-toasts@207be29224efed2ab1f7c2673b74530dd8b7f25a - Updated support library to 27.0.2.
    • pranavpandey/dynamic-toasts@fff6c7162b5ca2e42a97673b3776b5b739328267 - Added new methods to customise builder and dialog which will be useful in maintaining the dialog state.
    • pranavpandey/dynamic-toasts@b38189e401c478dceeb6daaffc16861f7098687e - Updated gradle plugin to 3.01.
    • pranavpandey/dynamic-toasts@8abd832227f406dba3032fd0600f2abb16cd70ee - Updated build tools to 27.0.1.
    Source code(tar.gz)
    Source code(zip)
  • v0.6.0(Nov 3, 2017)

    • pranavpandey/dynamic-toasts@2077342cd51a4e40faa5e7b5fb2dcc06a0211b7b - Added DynamicHint to display cheat sheets.
    • pranavpandey/dynamic-toasts@531bcb912ebfd36ad71f9b1b98c9010a2173c55d - Gradle plugin 3.0.0; Build tools 27.0.0; Support library 27.0.0.
    Source code(tar.gz)
    Source code(zip)
  • v0.5.0(Sep 8, 2017)

  • v0.4.0(Aug 10, 2017)

    • pranavpandey/dynamic-toasts@d02313ce59e77112addd7f5bad319f258b2fb361 - Added result checks.
    • Updated support libraries to 26.0.1 so, minimum SDK is 14.
    • Updated gradle plugin to 3.0.0-beta1.
    • Hide dynamic-utils dependency, add it manually in the module's build.gradle file.
    • Bug fixes and improvements
    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Jul 1, 2017)

    • pranavpandey/dynamic-toasts@95fa7693ab6b0c1a0df1aa87da867835a28667ed - Added custom background, text size and typeface.
    • pranavpandey/dynamic-toasts@d2bd4d1f6929f436525401e53a17ef0226e15b8b - Added custom colors support for in-built toasts.
    • pranavpandey/dynamic-toasts@e8f7b50ac04135adb4b2620c6575d29ac10d1f79 - Added support to disable icon.
    • pranavpandey/dynamic-toasts@13c3f69801c754ea45e3505b2ffb0b9acb050983 - Added support for custom icon size.
    • Updated dynamic-utils to version 0.3.0.
    • Updated README.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Jun 28, 2017)

    • pranavpandey/dynamic-toasts@1ab896e2bbe9427eba6a941cecac6a6990559c5f - Added error, success and warning toasts.
    • Updated dynamic-utils to version 0.2.0.
    • Bug fixes and improvements.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jun 24, 2017)

Owner
Pranav Pandey
Software Developer & Designer
Pranav Pandey
Android library to create customizable floating animated toasts like in Clash Royale app

FloatingToast-Android An android library to make customisable floating animated toasts Getting Started In your build.gradle dependencies { impleme

Hariprasanth S 96 Dec 30, 2022
Pretty material design toasts with feedback animations

Load Toast Library The default toasts are ugly and don't really provide much more than a short message. This small library provides a better toast whi

null 1.5k Dec 22, 2022
CuteToast is an Material Design Custom Toast for Android | Custom Material Design Toast

CuteToast is an Android Custom Toast library that could be used instead of Default Toast. It does everything as Toast but with some extra spice.

K M Rejowan Ahmmed 12 Dec 17, 2022
Android Custom Toast

Super Toast Library Written Purely in Kotlin ❤️ Usual Toast but with super powers!!! ?? A Fully Customised and Customisable Toast. ]( https://android-

null 26 Dec 27, 2022
A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary...etc ), or with rounded corners, or event with image.

CoolToast A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary

null 21 Dec 20, 2022
Custom Toast Library by Google Developer Student Club University of Brawijaya

GDSCToast Custom Toast Library by Google Developer Student Club University of Brawijaya Prerequisites For old version of gradle (before arctic fox upd

Kylix Eza S 6 Sep 15, 2022
This custom snack bar will help you display much more personalized app toast

?? Presentation Using the native android class of snack bar. This custom snack bar will help you display much more personalized app

Xavi 4 Dec 8, 2022
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).

Android AppMsg (Crouton) Library Implementation of in-layout notifications. Based on Toast notifications and article The making of Prixing #4: in-layo

Evgeny Shishkin 1.4k Nov 25, 2022
Attractive, stylish and customizable toast library for Android.

FabToast min SDK 16 (Jelly Bean 4.1) written in Java To download the demo app for this library from Google Playstore so you can see it in action, clic

Dean Spencer 11 Feb 14, 2022
Balloon 🎈 A lightweight popup like tooltips, fully customizable with arrow and animations.

Balloon ?? A lightweight popup like tooltips, fully customizable with arrow and animations.

Jaewoong Eum 2.8k Jan 2, 2023
Android : IamToast Another Toast library for Android

Android : IamToast Another Toast library for Android Warning. toast custom view is deprecated since android 11(R) Setup allprojects { repositories

null 2 Jun 12, 2022
Context sensitive notifications for Android

Crouton Context sensitive notifications for Android DEPRECATION NOTICE This library has passed it's prime and is now considered deprecated. With the A

Ben Weiss 3k Dec 28, 2022
A library that extends the Android toast framework.

SuperToasts Library The SuperToasts library enhances and builds upon the Android Toast class. This library includes support for context sensitive Supe

John Persano 2.7k Dec 29, 2022
An Android Toast replacement, similar to the one seen in the GMail app.

MessageBar An Android Toast replacement, similar to the one seen in the GMail app. Multiple messages can be posted in succession, and each message wil

Simon Vig Therkildsen 555 Nov 25, 2022
🍞 The missing toast library for Android.

Literally Toast ?? A toast library for Android. Usage: ?? Use the LitToast to get lit and show your users a proper toast. LitToast.create(context, "My

David Voiss 229 Nov 25, 2022
Toastie is a customizable Android toast library.

Toastie Getting Started Gradle Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: Note

Burak Fidan 36 Apr 3, 2021
Android Toast For RTL Applications

RTL-Toast Android library to show Toasts in a pretty RTL way Install Add it in your root build.gradle allprojects { repositories { ... ma

Arash Hatami 15 Nov 16, 2022
A tooltip/showcase library for Android re-written in Kotlin.

UglyTooltip Based on another Showcase library. Being kotlinized, customized and refactored.

null 26 Dec 9, 2022
Customizable toast message library for Android

Android Custom Toast Message (SnToast) Customizable Toast Message Library For Android Add this in your root build.gradle file allprojects { reposito

null 9 Nov 15, 2021