razir / Progressbutton
Android Progress Button
Stars: ✭ 662
Programming Languages
kotlin
9241 projects
Projects that are alternatives of or similar to Progressbutton
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (-11.48%)
Mutual labels: material-design, button
Ripple Without Js
Create Material Design ripple effect in your HTML without using a single line of JS.
Stars: ✭ 53 (-91.99%)
Mutual labels: material-design, button
Flutterplayground
Playground app for Flutter
Stars: ✭ 859 (+29.76%)
Mutual labels: button, progress-bar
Camerabutton
Instagram-like button for taking photos or recording videos
Stars: ✭ 121 (-81.72%)
Mutual labels: material-design, button
Customfloatingactionbutton
This view is for replacement of standard Floating Action Button from Google Support Library. It is easy to use, customizable and you can also add text to button
Stars: ✭ 222 (-66.47%)
Mutual labels: material-design, button
Materialprogressbar
Material Design ProgressBar with consistent appearance
Stars: ✭ 2,145 (+224.02%)
Mutual labels: material-design, progress-bar
Wymaterialbutton
Interactive and fully animated Material Design button for iOS developers.
Stars: ✭ 80 (-87.92%)
Mutual labels: material-design, button
react-native-progress-button
A react native button component that can show progress.
Stars: ✭ 17 (-97.43%)
Mutual labels: progress-bar, button
Holdingbutton
Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK).
Stars: ✭ 595 (-10.12%)
Mutual labels: material-design, button
React Native Snackbar
🍱 Material Design "Snackbar" component for Android and iOS.
Stars: ✭ 613 (-7.4%)
Mutual labels: material-design
Material Components Flutter
Modular and customizable Material Design UI components for Flutter
Stars: ✭ 651 (-1.66%)
Mutual labels: material-design
Materialdialog Android
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily.
Stars: ✭ 602 (-9.06%)
Mutual labels: material-design
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (-7.25%)
Mutual labels: progress-bar
React Notification
Provides snackbar notifications for React
Stars: ✭ 652 (-1.51%)
Mutual labels: material-design
Material Drawer
Custom drawer implementation for Material design apps.
Stars: ✭ 611 (-7.7%)
Mutual labels: material-design
Material Kit
Free and Open Source UI Kit for Bootstrap 4, React, Vue.js, React Native and Sketch based on Google's Material Design
Stars: ✭ 5,672 (+756.8%)
Mutual labels: material-design
Fluid
📖 Library for QtQuick apps with Material Design
Stars: ✭ 601 (-9.21%)
Mutual labels: material-design
Front End Daily Challenges
As of October 2020, 170+ works have been accomplished, challenge yourself each day!
Stars: ✭ 598 (-9.67%)
Mutual labels: button
React Native Material Bottom Navigation
💅🔧👌 a beautiful, customizable and easy-to-use material design bottom navigation for react-native
Stars: ✭ 659 (-0.45%)
Mutual labels: material-design
Progress Button Android
Article on ProAndroidDev.com explaining how it works
https://proandroiddev.com/replace-progressdialog-with-a-progress-button-in-your-app-14ed1d50b44
Add progress to any button by few lines of code without layout changes
Main features:
- No layout changes required
- Few lines of code to add
- Easy configurable
- Customizable
- Built in fade animations
Gradle dependency
allprojects {
repositories {
mavenCentral()
}
}
implementation 'com.github.razir.progressbutton:progressbutton:2.1.0'
How to use
Basic example
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// bind your button to activity lifecycle
bindProgressButton(myButton)
// (Optional) Enable fade In / Fade out animations
myButton.attachTextChangeAnimator()
// Show progress with "Loading" text
myButton.showProgress {
buttonTextRes = R.string.loading
progressColor = Color.WHITE
}
// Hide progress and show "Submit" text instead
myButton.hideProgress(R.string.submit)
}
Showing AnimatedDrawable
val animatedDrawable = ContextCompat.getDrawable(this, R.drawable.animated_check)
//Defined bounds are required for your drawable
animatedDrawable.setBounds(0, 0, 40, 40)
button.showDrawable(animatedDrawable) {
buttonTextRes = R.string.saved
}
here
Detailed doc:here
Java samples:Min SDK 14
Avoiding memory leaks
To avoid memory leaks you always need to bind your button to a LifecycleOwner (usually Activity, or Fragment) :
[LifecycleOwner].bindProgressButton(button)
License
Apache 2.0
Author
Anton Hadutski
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].