Out of the box library for displaying Android toasts with steroids
Just one line and you'll have a nice an fancy Toast!
A sample application is available inside of the library
This library is compatible from API 4 (Android 1.6).
To display a Toasteroid:
- From the basic:
Toasteroid.show(Activity activity, String message, STYLES style);
- to more complex:
Toasteroid.show(Activity activity, String message, STYLES style, long duration, int gravity);
Toasteroid uses the awesome tool [Jitpack] (https://jitpack.io/#marcohc/toasteroid)
Add the repository to your general build.gradle:
repositories {
maven {
url "https://jitpack.io"
}
}
And then add the library in your specific project build.gradle:
compile 'com.github.marcohc:toasteroid:<release>'
Please fork the repository and contribute back using pull requests.
Contributors are recommended to follow the Android Code Style Guidelines.
Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.
- Marco Hernaiz Cao - marco.hernaiz.cao@gmail.com
Copyright 2015 Marco Hernaiz Cao
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.