Customizable toast message library for Android

Last update: Nov 15, 2021

Android Custom Toast Message (SnToast)

Customizable Toast Message Library For Android

Add this in your root build.gradle file

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Add this to your module's build.gradle file

dependencies {
  implementation 'com.github.emreesen27:Android-Custom-Toast-Message:1.0.4'
}

Usage

It very simple!

Toast Types
  • SUCCESS
  • ERROR
  • WARNING
  • INFORMATION

Standard

 new SnToast.Standard()
      .context(YourActivity.this)
      .type(Type.SUCCESS)
      .message("Success !")
      // .iconSize(int size) Optional Default: 34dp
      // .textSize(int size) Optional Default 18sp
      // .animation(false or true) Optional Default: True
      // .cancelable(false or true) Optional Default: False
      // .duration(int ms) Optional Default: 3000ms
      .build();

Custom

  new SnToast.Custom()
      .context(YourActivity.this)
      .backgroundColor(R.color.your_bg_color)
      .textColor(R.color.your_text_color)
      .icon(R.drawable.your_icon)
      .message("Custom !!!")
      // .iconSize(int size) Optional Default: 34dp
      // .textSize(int size) Optional Default 18sp
      // .animation(false or true) Optional Default: True
      // .cancelable(false or true) Optional Default: False
      // .duration(int ms) Optional Default: 3000ms
      .build();

Change Typeface (Standard or Custom)

  Typeface type = ResourcesCompat.getFont(getApplicationContext(), R.font.example);
  .typeface(type) // Optional Default: sans-serif-condensed

Showcase

Success Toast Error Toast
Warning Toast Information Toast

GitHub

https://github.com/emreesen27/Android-Custom-Toast-Message
You might also like...

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

Feb 16, 2022

Android Custom Toast

Android Custom Toast

Super Toast Library Written Purely in Kotlin ❤ī¸ Usual Toast but with super powers!!! đŸ’Ē A Fully Customised and Customisable Toast. ]( https://android-

May 2, 2021

Android Toast For RTL Applications

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

Oct 19, 2021

The usual Toast, but with steroids đŸ’Ē

The usual Toast, but with steroids đŸ’Ē

Toasty The usual Toast, but with steroids. Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { r

May 24, 2022

Simple toast

newlibrary Simple toast Step 1. Add the JitPack repository to your build file allprojects { repositories { ... maven { url 'https://jitpack.io

Nov 5, 2021

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

Mar 9, 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.

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

May 20, 2022

An android library for easy implementation of Toasts in Android with easy customisation.

An android library for easy implementation of Toasts in Android with easy customisation.

ToastTypeDecore Šī¸ A library for easy implementation of Toasts in Android with easy customisation. Latest Version : v2.1 Screenshots Success Toast1 Su

Oct 27, 2021

A tooltip/showcase library for Android re-written in Kotlin.

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

Apr 27, 2022
CuteToast is an Material Design Custom Toast for Android | Custom Material Design Toast
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.

Dec 14, 2021
Toastie is a customizable Android toast library.
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

Apr 3, 2021
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

Feb 14, 2022
Android : IamToast Another Toast library for Android
 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

Feb 7, 2022
A library that extends the Android toast framework.
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

May 13, 2022
🍞 The missing toast library for Android.
🍞 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

Dec 17, 2021
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

Jun 22, 2020
Custom Toast Library by Google Developer Student Club University of Brawijaya
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

May 22, 2022
MDToast - MaterialDesign Toast library written with Kotlin with lots of extensions to interact easily in contexts
MDToast - MaterialDesign Toast library written with Kotlin with lots of extensions to interact easily in contexts

MDToast - MaterialDesign Toast A lightweight Toast library written with Kotlin i

Apr 22, 2022
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).
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

May 19, 2022