All Projects → egek92 → ProteinBar

egek92 / ProteinBar

Licence: MIT license
An Android Kotlin library for fully customizable Snackbars

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to ProteinBar

Snackbarbuilder
[ARCHIVED] Builder pattern for support library Snackbars, that makes them easier to customise and use
Stars: ✭ 71 (+407.14%)
Mutual labels:  snackbar
React Native Snackbar Component
A snackbar component for Android and iOS
Stars: ✭ 137 (+878.57%)
Mutual labels:  snackbar
React Toast Notifications
🍞 A toast notification system for react
Stars: ✭ 2,103 (+14921.43%)
Mutual labels:  snackbar
Oops No Internet
Oops! No Internet! No internet dialog and snackbar for the rescue!
Stars: ✭ 79 (+464.29%)
Mutual labels:  snackbar
Vuetify Toast Snackbar
Basic Vue toast service that uses Vuetify Snackbar component.
Stars: ✭ 123 (+778.57%)
Mutual labels:  snackbar
Cafebar
An upgraded Snackbar for Android that provides more options and easy to use
Stars: ✭ 142 (+914.29%)
Mutual labels:  snackbar
Material Ui Snackbar Provider
A convenient way to use material-ui's snackbars.
Stars: ✭ 60 (+328.57%)
Mutual labels:  snackbar
Snackbar
A tiny browser library for showing a brief message at the bottom of the screen (1kB gzipped).
Stars: ✭ 224 (+1500%)
Mutual labels:  snackbar
Noty
A simple library for creating animated warnings/dialogs/alerts for Android.
Stars: ✭ 136 (+871.43%)
Mutual labels:  snackbar
Notistack
Highly customizable notification snackbars (toasts) that can be stacked on top of each other
Stars: ✭ 2,562 (+18200%)
Mutual labels:  snackbar
Android Appmsg
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).
Stars: ✭ 1,384 (+9785.71%)
Mutual labels:  snackbar
Chocobar
The usual Snackbar with more 🍫 and colours 🎉
Stars: ✭ 110 (+685.71%)
Mutual labels:  snackbar
Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Stars: ✭ 2,103 (+14921.43%)
Mutual labels:  snackbar
Csnackbar
This is a wrapper for android Snackbar. Which giving support to change Snackbar color, duration, message or even it's content view with a custom view.
Stars: ✭ 76 (+442.86%)
Mutual labels:  snackbar
Flash
⚡️A highly customizable, powerful and easy-to-use alerting library for Flutter.
Stars: ✭ 174 (+1142.86%)
Mutual labels:  snackbar
Tc Material Design
Série de artigos sobre o Material Design Android
Stars: ✭ 64 (+357.14%)
Mutual labels:  snackbar
Appupdater
A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Stars: ✭ 1,793 (+12707.14%)
Mutual labels:  snackbar
React Hot Toast
Smoking hot React Notifications 🔥
Stars: ✭ 4,282 (+30485.71%)
Mutual labels:  snackbar
React Native Smart Tip
🔥🔥🔥Toast , SnackBar , Modal , Show Toast above Modal
Stars: ✭ 198 (+1314.29%)
Mutual labels:  snackbar
Material
A UI/UX framework for creating beautiful applications.
Stars: ✭ 11,870 (+84685.71%)
Mutual labels:  snackbar

Download

in your root build.gradle

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

in your app level build.gradle

dependencies {
    ...
    implementation 'com.github.egek92:ProteinBar:1.4'
}

Usage Example

alt text

Complete List of Methods

  • text("example") : set text

  • textSize(12) : set text size

  • textStyle(textStyle.BOLD) : define text style

  • textColor(Color.parseColor("#FFFFFF")) : set text color

  • duration(Protein.LENGTH_SHORT) : ProteinBar display duration

  • icon(R.drawable.icon) : set icon

  • backgroundcolor(Color.parseColor("#FFFFFF")) : set background color

  • centerText() : allign text to center

alternatively you can use pre-made action ProteinBars

success()
info()
warning()
error()
Protein.builder()    
	.setActivity(this)    
	.text("Hippity hoppity get off my property!")   
	.backgroundColor(Color.parseColor("#00ff00"))    
	.icon(R.drawable.frog)      
	.show()

Screenshot

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