All Projects → shivampip → Android Customtoast

shivampip / Android Customtoast

Licence: gpl-3.0
Easy to use Custom Toast Library for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Customtoast

Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (+579.17%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-ui
Datingapp
Dating UI kit is used for online meet up with girls and boys . The screen contains more than 30 icons and most of all required elements required to design an application like this. The XML and JAVA files contains comments at each and every point for easy understanding. Everything was made with a detail oriented style and followed by today's web trends. Clean coded & Layers are well-organized, carefully named, and grouped.
Stars: ✭ 97 (+304.17%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-ui
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+470.83%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-ui
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (+337.5%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-ui
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+3095.83%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-ui
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+375%)
Mutual labels:  android-app, androidstudio, android-development, android-ui
Notzz App
📝 A Simple Note-Taking App built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, State Flow, Hilt-Dependency Injection, Jetpack DataStore, Architecture Components, MVVM, Room, Material Design Components).
Stars: ✭ 158 (+558.33%)
Mutual labels:  android-app, material-design, android-development, android-ui
Alerter
An Android Alerting Library
Stars: ✭ 5,213 (+21620.83%)
Mutual labels:  android-app, material-design, android-development, android-ui
Bottomsheet
BottomSheet dialog library for Android
Stars: ✭ 219 (+812.5%)
Mutual labels:  android-app, material-design, android-development, android-ui
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+812.5%)
Mutual labels:  android-app, androidstudio, android-development, android-ui
AndroidBatteryStats
Displays all battery stats of an Android device using broadcast receiver.
Stars: ✭ 20 (-16.67%)
Mutual labels:  android-development, android-ui, android-app, androidstudio
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+366.67%)
Mutual labels:  android-app, androidstudio, android-development, android-ui
Music Player Go
🎶🎼 Very slim music player 👨‍🎤 100% made in Italy 🍕🌳🌞🍝🌄
Stars: ✭ 654 (+2625%)
Mutual labels:  android-app, material-design, android-development, android-ui
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (+158.33%)
Mutual labels:  android-development, android-ui, android-app, customview
Zoomrecylerlayout
🎢 Zoom Recycler Layout Manager For Android Kotlin
Stars: ✭ 618 (+2475%)
Mutual labels:  android-app, androidstudio, android-development, android-ui
Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (+45.83%)
Mutual labels:  android-app, androidstudio, android-development, android-ui
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (+20.83%)
Mutual labels:  android-development, android-ui, android-app, androidstudio
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+595.83%)
Mutual labels:  android-development, android-ui, android-app, androidstudio
Expenso
📊 A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture
Stars: ✭ 325 (+1254.17%)
Mutual labels:  android-app, material-design, android-development, android-ui
Android Arsenal.com
Source to android-arsenal.herokuapp.com
Stars: ✭ 541 (+2154.17%)
Mutual labels:  android-app, android-development, android-ui

Android-CustomToast

Watch this video

Android-CustomToast is a powerful & easy to use Custom Toast library for Android. It runs on API level 14 and upwards. This library provides some predefined custom toast. Also you can coustomize the toast according to your need

⚡️A Single line of code can add a beautiful toast message in your app. ⚡️

Code Output
CT.success(this, "Success");
CT.success2(this, "Success");
CT.failed(this, "Failed");
CT.failed2(this, "Failed");
CT.loading(this, "Loading...");
CT.loading2(this, "Loading...");
CT.mute(this, "Silent mode");
CT.mute2(this, "Silent mode");
CT.normal(this, "Normal Toast");
CT.normal2(this, "Normal Toast");
Custom Toast
Custom Toast2

Setup

Gradle dependency (recommended)

  • Add the following to your project level build.gradle:
allprojects {
	repositories {
		maven { url "https://jitpack.io" }
	}
}
  • Add this to your app build.gradle:
dependencies {
	compile 'com.github.shivam301296:Android-CustomToast:1.0.1'
}

Or use Maven

  • Add the following to the <repositories> section of your pom.xml:
<repository>
       <id>jitpack.io</id>
       <url>https://jitpack.io</url>
</repository>
  • Add the following to the <dependencies> section of your pom.xml:
<dependency>
       <groupId>com.github.shivam301296</groupId>
         <artifactId>Android-CustomToast</artifactId>
         <version>1.0.0</version>
</dependency>

Documentation

For a detailed documentation 📔, please have a look at the Wiki

For using predefined Toast

Refer to the above table (Code and Output)

For using Custom Toast

new CT.Builder(this, "Your message")
            .textCol(Color.BLACK)
            .backCol(Color.YELLOW)
            .borderCol(Color.BLACK)
            .borderWidth(20)
            .image(R.drawable.apple)
            .gravity(Gravity.CENTER)
            .radius(80,0,0,80)
            .show();
Method Use
textCol(int color) Set text color
backCol(int color Set background color
borderCol(int color) Set border color
borderWidth(int width Set border width
image(int imageResource) Set image in the toast
gravity(int gravityConstant) Set Toast gravity (Location)
radius(int topLeft, int topRight, int bottomLeft, int bottomRight), Set toast layout corner radius
shape(int shape) Set toast shape
duration(int duration) Set toast duration
show() Don't forget to call this method

Works on

  • Android 4.0.1 (Ice Cream Sandwich) and above.

Permissions

  • Does not require any special permission

Built With

Third party libraries

  • No external library dependency

Authors

Version

  • Version 1.0.1

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].