Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yadav-rahul/TastyToast
:bread: Make your native android Toasts Tasty
https://github.com/yadav-rahul/TastyToast
android android-library ui
Last synced: 3 months ago
JSON representation
:bread: Make your native android Toasts Tasty
- Host: GitHub
- URL: https://github.com/yadav-rahul/TastyToast
- Owner: yadav-rahul
- Created: 2016-07-17T05:03:31.000Z (over 8 years ago)
- Default Branch: lib
- Last Pushed: 2019-08-20T06:39:14.000Z (about 5 years ago)
- Last Synced: 2024-08-05T13:08:11.507Z (3 months ago)
- Topics: android, android-library, ui
- Language: Java
- Homepage:
- Size: 882 KB
- Stars: 2,042
- Watchers: 65
- Forks: 355
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android - TastyToast - Toasts with icons and color. (Libraries / GUI)
- awesome-android - TastyToast - Toasts with icons and color. (Libraries / GUI)
- awesome-github-android-ui - TastyToast - 精致的原生安卓toast (Toast)
README
# TastyToast
[![platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)
[![API](https://img.shields.io/badge/API-11%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=11)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TastyToast-red.svg?style=flat)](http://android-arsenal.com/details/1/4039)Make your native android toast look beautiful.
## Preview
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/success.gif)
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/warning.gif)
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/error.gif)
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/info.gif)
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/default.gif)
![gif](https://github.com/yadav-rahul/TastyToast/blob/lib/static/confusion.gif)## About
Refer Here [Wiki](https://github.com/yadav-rahul/TastyToast/wiki)
Grab the above demo app from here :
[![Get it on Google Play](https://play.google.com/intl/en_us/badges/images/badge_new.png)](https://play.google.com/store/apps/details?id=com.demo.tastytoast)
## Dependency
Add dependency in your app module
```
dependencies {
compile 'com.sdsmdg.tastytoast:tastytoast:0.1.1'
}
```## Usage
### Java
```
TastyToast.makeText(getApplicationContext(), "Hello World !", TastyToast.LENGTH_LONG, TastyToast.WARNING);
```
Last parameter here is the type of toast you want to show.## Contributing
Please fork this repository and contribute back using
[pull requests](https://github.com/yadav-rahul/TastyToast/pulls).Any contributions, large or small, major features, bug fixes, are welcomed and appreciated
but will be thoroughly reviewed .## License
* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
```
Copyright 2016 Rahul YadavLicensed 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 athttp://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.