Progressroundbutton

A DownloadProgressButton with Animation for Android
Alternatives To Progressroundbutton
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Boommenu5,761
a year ago117Java
A menu which can ... BOOM! - Android
Likebutton2,767
4 years ago1October 16, 201713Java
Twitter's heart animation for Android
Modaal2,668823 years ago5October 08, 201842mitJavaScript
An accessible dialog window library for all humans.
Fluid Interfaces2,339
5 years ago3apache-2.0Swift
Natural gestures and animations inspired by Apple's WWDC18 talk "Designing Fluid Interfaces"
Loadingbuttonandroid1,815
4 months ago2May 19, 202357mitKotlin
A button to substitute the ProgressDialog
Jquery Confirm1,61882193 years ago14February 07, 2019159mitJavaScript
A multipurpose plugin for alert, confirm & dialog, with extended features.
Circle Menu Android1,607
3 years ago6February 12, 2019mitJava
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Android UI library made by @Ramotion - https://www.ramotion.com/agency/app-development/
Flutter_login1,365134 days ago30August 29, 202391mitDart
Provides login screen with login/signup functionalities to help speed up development
React Particle Effect Button1,3511243 years ago3August 02, 20185JavaScript
Bursting particle effect buttons for React 🎉
Transitionbutton1,320
23a year ago7October 22, 201819mitSwift
UIButton sublass for loading and transition animation.
Alternatives To Progressroundbutton
Select To Compare


Alternative Project Comparisons
Readme

ProgressRoundButton Android Arsenal

A Smooth Download Button with Progress.

Demo

![demo](./img/Oct-27-2016 10-39-17.gif)

Usage

step1

gradle

 dependencies {
     compile fileTree(dir: 'libs', include: ['*.jar'])
     compile 'com.android.support:appcompat-v7:23.0.1'
     compile 'com.xiaochendev.progressroundbtn:library:2.0.0'
 }

step2

you can define the button in xml like this:

<com.xiaochen.progressroundbutton.AnimDownloadProgressButton
        android:id="@+id/anim_btn"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        app:progressbtn_background_color="@android:color/holo_orange_light"
        app:progressbtn_background_second_color="@android:color/holo_green_light"/>

advanced

  • If you want shadow and press effect,please use AnimButtonLayout instead of AnimDownloadProgressButton :
<com.xiaochen.progressroundbutton.AnimButtonLayout
            android:id="@+id/anim_btn3"
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:layout_marginTop="40dp"
            app:progressbtn_background_color="@android:color/holo_blue_dark"
            app:progressbtn_background_second_color="@android:color/darker_gray"
            app:progressbtn_enable_gradient="true"
            app:progressbtn_enable_press="true"/>
  • You can also implement your own ButtonController,so that you can controll gradient effect;

The Customized properties are in the follow table: git

Property Format Default
progressbtn_radius float half of the button height
progressbtn_background_color color #6699ff
progressbtn_background_second_color color Color.LTGRAY
progressbtn_text_color color progressbtn_background_color
progressbtn_text_covercolor color Color.WHITE
progressbtn_enable_press boolean false
progressbtn_enable_gradient boolean false

The follow picture make a clear explanation:

show

open gradient

gradient

use AnimButtonLayout

shadow

Version

  • 2.0.0 Now you can use press effect; Now you can use gradient effect; Add AnimButtomLayout with shadow ,when you press the button will be small;

  • 1.1.0 Fix the bug when setProgressText("something",100),first tiem getProgress() return 0;

  • 1.0.0
    Now you can set text size;
    Add Method removeAllAnim() to avoid memory leak;

  • 0.9.1

About me

I am a developer in China,If you have any idea about this project,please contact me ,Thank you!

晓晨Android组

这个是我的公众号,如果你有 Android 开发方面问题可以和我一起讨论,我每周或者每两周会发一两篇原创的Android文章,谢谢支持!

xiaochen588189

License

Copyright 2015 cctanfujun

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.
Popular Animation Projects
Popular Button Projects
Popular User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Button
Animation
Gradient
Shadow