All Projects → Shashank02051997 → Fancytoast Android

Shashank02051997 / Fancytoast Android

Licence: apache-2.0
Make your native android Toasts Fancy. A library that takes the standard Android toast to the next level with a variety of styling options. Style your toast from code.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Fancytoast Android

Notistack
Highly customizable notification snackbars (toasts) that can be stacked on top of each other
Stars: ✭ 2,562 (+140.11%)
Mutual labels:  material-design, toast
Noty
A simple library for creating animated warnings/dialogs/alerts for Android.
Stars: ✭ 136 (-87.25%)
Mutual labels:  material-design, toast
Dynamic Toasts
Custom toasts with color and icon for Android.
Stars: ✭ 132 (-87.63%)
Mutual labels:  material-design, toast
Cookiebar2
Android library for displaying text messages, notifications and alerts at the top or bottom of the screen. A great alternative for toast and snackbar alerts.
Stars: ✭ 499 (-53.23%)
Mutual labels:  material-design, toast
Lovelydialog
This library is a set of simple wrapper classes that are aimed to help you easily create fancy material dialogs.
Stars: ✭ 1,043 (-2.25%)
Mutual labels:  material-design
Sortabletableview
An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs.
Stars: ✭ 1,019 (-4.5%)
Mutual labels:  material-design
Jhud
A full screen of the HUD when loading the data (Objective-C).
Stars: ✭ 1,003 (-6%)
Mutual labels:  toast
Quasar Awesome
🎉 A list of awesome things related to Quasar
Stars: ✭ 995 (-6.75%)
Mutual labels:  material-design
React Native Redux Toast
Simple to use, easy to customize Toast component for Android & iOS. Developed with love for redux apps
Stars: ✭ 51 (-95.22%)
Mutual labels:  toast
Paper
A gentle theme for Jekyll utilising material design.
Stars: ✭ 50 (-95.31%)
Mutual labels:  material-design
Easyandroid
一系列简单、轻量、方便的Android开发工具集合(持续更新中),包括Android动态权限、SharedPreferences、反射、日志、Toast、Bundle、MVP、线程池、Html、图文混排、蒙层引导、拍照、图库选择等
Stars: ✭ 1,039 (-2.62%)
Mutual labels:  toast
Material Motion
Starmap and team docs
Stars: ✭ 44 (-95.88%)
Mutual labels:  material-design
Air For Steam
An elegant and customizable skin for Steam
Stars: ✭ 1,044 (-2.16%)
Mutual labels:  material-design
React Native Paper
Material Design for React Native (Android & iOS)
Stars: ✭ 8,714 (+716.68%)
Mutual labels:  material-design
Material Prefs
⚙ A beautiful and extensible API for bulding preferences screen
Stars: ✭ 51 (-95.22%)
Mutual labels:  material-design
Ng2 Md Datatable
Angular 5+ DataTable component for using with Material Design 2
Stars: ✭ 40 (-96.25%)
Mutual labels:  material-design
Angular Bootstrap With Material Design
Angular Bootstrap with Material Design - Powerful and free UI KIT
Stars: ✭ 1,031 (-3.37%)
Mutual labels:  material-design
Materialette
Materialette - A material design color palette
Stars: ✭ 1,056 (-1.03%)
Mutual labels:  material-design
Todo List
待办事项APP
Stars: ✭ 45 (-95.78%)
Mutual labels:  material-design
Android Dev
⚡️ Curated list of resources for Android app development. Prepare for battle!
Stars: ✭ 44 (-95.88%)
Mutual labels:  material-design

FancyToast-Android

platform API License Android Arsenal Recommend me on LinkedIn

Get it on Google Play

Prerequisites

Add this in your root build.gradle file (not your module build.gradle file):

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

Dependency

Add this to your module's build.gradle file (make sure the version matches the JitPack badge above):

dependencies {
	...
	implementation 'com.github.Shashank02051997:FancyToast-Android:0.1.8'
}

Usage

Each method always returns a Toast object, so you can customize the Toast much more. DON'T FORGET THE show() METHOD!

To display an default Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.DEFAULT,true);

To display a success Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.SUCCESS,true);

To display an info Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.INFO,true);

To display a warning Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.WARNING,true);

To display the error Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.ERROR,true);

To display the confusing Toast:

FancyToast.makeText(this,"Hello World !",FancyToast.LENGTH_LONG,FancyToast.CONFUSING,true);

You can also remove the android icon on top-right corner by passing last parameter false.

FancyToast.makeText(yourContext, "I'm a Toast", duration, type, boolean value).show();

You can also create your custom Toasts with passing your image with or without android icon(top-right corner):

FancyToast.makeText(yourContext, "I'm a custom Toast", duration, type, yourimage, boolean value).show();

To display the custom Toast with no android icon:

FancyToast.makeText(this, "This is Custom Toast with no android icon", FancyToast.LENGTH_LONG, FancyToast.CONFUSING, R.drawable.ic_android_black_24dp, false);

Screenshots

Please click the image below to enlarge.

Contributing

Please fork this repository and contribute back using pull requests.

Any contributions, large or small, major features, bug fixes, are welcomed and appreciated but will be thoroughly reviewed .

Contact - Let's become friend

Don't forget to star ⭐ the repo it motivates me to share more open source

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

Buy Me A Coffee

License

Copyright 2020 Shashank Singhal

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].