• Stars
    star
    1,293
  • Rank 36,391 (Top 0.8 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

FancyToast-Android

platform API License Maven Central 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 {
		...
		mavenCentral()
	}
}

Dependency

This library is available on MavenCentreal

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

dependencies {
	...
	implementation 'io.github.shashank02051997:FancyToast:2.0.2'
}

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.

More Repositories

1

LoginUI-Android

Login User Interface in android with innovative, beautiful and creative background πŸ˜ŠπŸ˜ŠπŸ˜‰
Java
550
star
2

FancyGifDialog-Android

Make your native android Dialog Fancy and Gify. A library that takes the standard Android Dialog to the next level with a variety of styling options and Gif's. Style your dialog from code.
Java
529
star
3

VegetableOrderUI-Android

Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Kotlin
471
star
4

FancyAlertDialog-Android

Make your native android Dialog Fancy. A library that takes the standard Android Dialog to the next level with a variety of styling options. Style your dialog from code.
Java
374
star
5

FancyWalkthrough-Android

Fancy Walkthrough is a simple and lightweight library that helps you to create cool and beautiful introduction screens for your apps without writing dozens of lines of code.
Java
263
star
6

WeatherApp-Android

β›ˆ Weather app with OpenWeatherMap API
Kotlin
228
star
7

PlantShopUI-Android

Check out the new style for App Design aims for the Online Plant Shop Service using jetpack compose...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Kotlin
215
star
8

BusBookingUI-Android

Check out the new style for App Design aims for the Bus Booking Service...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
211
star
9

FutureFurnitureUI-Android

Check out the new style for App Design aims for Furniture E-commerce...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
158
star
10

Shotang-App

The New Home Screen is designed in a modular way with the core focus on product discovery. Search, Deals, Products everything has been brought upfront. The hamburger menu has been replaced with a bottom navigation bar for easy reachability. On the tech side too, this design allows us to run new deals and other experiments in an agile manner which wasn't possible in the previous version.
Java
147
star
11

CarRentalUI-Android

Check out the new style for App Design aims for Car rent...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
143
star
12

GitExplorer-Android

Find the right git commands πŸ”₯ without digging through the web.πŸ˜ŠπŸ˜ŠπŸ˜‰
Kotlin
142
star
13

AnywhereGPT-Android

Anywhere GPT, the ultimate mobile app with seamless AI assistance πŸ’» at your fingertips! Say goodbye to screen-switching! πŸ”₯πŸ“±πŸ€–
Kotlin
128
star
14

FancyFacebookBadge-Android

As the name describes, this is an Android library that you can use to show reacting badges like facebook.
Java
117
star
15

PaymentAppUI-Android

Check out the new style for App Design aims for Payment App...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Kotlin
105
star
16

ClassroomUI-Android

Check out the new style for App Design aims for Classrooms...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
86
star
17

FancyAboutPage-Android

Fancy About Page is a simple and lightweight library that helps you to create cool and beautiful about page for your apps without writing dozens of lines of code. It's a material-design about screen to use on your Android apps. A developer profile and application information easy to integrate.
Java
84
star
18

MovieBookingUI-Android

This is a concept of fetching a user's cinema show details like venue, movie, date & showtime before allowing him to place a cinema F&B order.
Java
79
star
19

PhoneNumberVerificationUI-Android

Check out the new style for mobile number verification πŸ˜‰πŸ˜‰πŸ˜ŠπŸ˜Š
Java
76
star
20

MovieFinderUsingMVVM-Android

πŸ”₯ MVVM + Clean Architecture + Best Practices | 🍿Movie Finder is a sample Android application πŸ“±to search movies using OMDb API which is built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Kodein, Architecture Components, MVVM, Retrofit, Gson, Material Components) πŸ˜ŠπŸ˜ŠπŸ˜‰
Kotlin
76
star
21

SchoolRegistrationUI-Android

Check out the new style for App Design aims for school or colleges...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
67
star
22

SignInSignupScreen-Android

SignIn and SignUp in android πŸ˜ŠπŸ˜ŠπŸ˜‰
Java
62
star
23

FancyFlashbar-Android

Make your native Snackbar and Toast Fancy. A library that takes the standard Snackbar and Toast to the next level with a variety of styling options. A highly customizable, powerful and easy-to-use alerting library for Android. This library allows you to show messages or alerts in your app quickly and easily.
Kotlin
53
star
24

AlphaBankUI-Android

Check out the new style for App Design aims for the Banking Applications...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
52
star
25

TicTacToeUI-Android

Check out the new style for App Design aims for Tic Tac Toe Game...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Java
39
star
26

GroceryAppUI-Flutter

Flutter representation of a Grocery App Concept.
Dart
36
star
27

Sushi-App

The concept of application for a sushi rolls store πŸ˜ŠπŸ˜ŠπŸ˜‰
Java
35
star
28

AgentX-Flutter

An Android & iOS app consuming a [Valorant Game](https://valorant-api.com/) API to display agent list
Dart
35
star
29

Java-Game-and-Application

Java Games and Application with awesome source code and better algorithm
Java
24
star
30

Imageium

Imageium is a sample image blog Android application πŸ“± built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).
Kotlin
19
star
31

QuizzieThunder-Flutter

Quizzie Thunder is an immersive trivia quiz app that seamlessly blends knowledge and aesthetics. 🌟 Engage in a captivating quiz experience with its exceptionally beautiful user interface, elevating the thrill of answering questions
Dart
18
star
32

MovieFinder-Android

Android App to search movies from OMDb Api using Kotlin
Kotlin
18
star
33

Diet-Management-Reminder-Android

Simple diet management reminder app using google calendar. Here i demonstrate the use of Modern Android development tools - (Kotlin, Architecture Components, MVVM, LiveData, Material Components)
Kotlin
15
star
34

TravelAppUI-Flutter

Flutter representation of a Travel App Concept.
Dart
12
star
35

Note-App

Simple Note App to perform operations like add, edit and delete note. Here i am demonstrate the use of Modern Android development tools - (Kotlin, Architecture Components, MVVM, Room, Material Components)
Kotlin
11
star
36

C-Programming

Programs in C
C++
10
star
37

PinterestAppUI-Android

Try to create the UI of Pinterest App...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Kotlin
8
star
38

C-Projects

Projects in C - Language
C++
7
star
39

LoginUI-Flutter

Featuring the delightful Rive bear animation, this project offers a seamless and engaging user experience right from the start
Dart
7
star
40

Android-Games

Android Games with .apk file
4
star
41

Shashank02051997.github.io

My Portfolio
JavaScript
4
star
42

CalcyLibrary-Android

Calcy Library is small simple library which provide a easiest way to calculate area, volume and perimeter without known of its formula's
Java
4
star
43

QuizzieThunder-ReactJs

Quizzie Thunder offers a captivating trivia quiz experience with a beautiful UI. 🌟 Developed using Node.js and MongoDB on the backend and React.js on the frontend, the app ensures seamless performance. πŸš€ Track progress, compete with friends through dynamic rankings, and enjoy a competitive edge in your trivia mastery journey. πŸ†
JavaScript
3
star
44

QuizzieThunder-NodeJs

Quizzie Thunder offers a captivating trivia quiz experience with a beautiful UI. 🌟 Developed using Node.js and MongoDB on the backend and React.js on the frontend, the app ensures seamless performance. πŸš€ Track progress, compete with friends through dynamic rankings, and enjoy a competitive edge in your trivia mastery journey. πŸ†
JavaScript
3
star
45

datastructureinc

Programs of Data Structure in C
C++
2
star
46

MovieApp-Flutter

1
star
47

Diet-Management-Reminder

1
star
48

Shashank02051997

1
star