Base on android-process-button this is the advanced version of the android-process-button.

Overview

Rock Button

Download Android Arsenalgitpay release logStories in Ready

Base on android-process-button this is the advanced version of the android-process-button Circle CI

##Main Features

  • ActionProcessButton
  • ArrowButton
  • GenerateProcessButton
  • SubmitProcessButton
  • AnimationProcessButton

Android Buttons With Built-in Progress Meters.

Read more with the development guide in Wiki

Attributes

There are several attributes you can set:

attr description button module base
pb_textProgress the text content when the process is proceeding ProcessButton
pb_textComplete the complete text ProcessButton
pb_textError error message on the button ProcessButton
pb_colorProgress the color resource reference on process ProcessButton
pb_colorComplete the color resource reference on process completed ProcessButton
pb_colorError the color resource reference when its error ProcessButton
pb_colorPressed as read FlatButton
pb_colorNormal as read FlatButton
pb_colorDisabled as read FlatButton
pb_colorBorder as read FlatButton
pb_borderWidth as read FlatButton
pb_cornerRadius as read FlatButton
pb_presentation as read there are two options: pad_button, flat_button FlatButton
pb_colorArrow color reference to tint the arrow ArrowButton
pb_arrowRes the drawable reference for the button ArrowButton
pb_verticalPadding dimension reference padding between top and bottom on the icon on right side ArrowButton
pb_topLineThickness dimension reference for the line thickness on the top ArrowButton
pb_bottomLineThickness dimension reference for the line thickness on the bottom ArrowButton

Code Sample

        add_bag = (ActionProcessButton) findViewById(R.id.add_to_bag);
        add_bag.setCompleteText(act.getResources().getString(R.string.button_3));
        add_bag.setText(act.getResources().getString(R.string.button_1));
        // set the progress mode on endless
        add_bag.setMode(ActionProcessButton.Mode.ENDLESS);
        // add success state color scheme as a button and not a sign
        add_bag.setOnCompleteColorButton(R.color.green_800, R.color.green_900);
        // add listener for click on the button for success state
        add_bag.setOnClickCompleteState(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent h = new Intent(context, CartWebViewStyleTopBar.class);
                context.startActivity(h);
            }
        }).build();
        

Integration

The lib is available on maven jitpack, so you will need to add a class path for custom repos

repositories {maven { url "http://dl.bintray.com/jjhesk/maven" }}
dependencies {compile 'com.hkm:hkmprocessbuttons:1.2.4'}

Sample

Android app on Google Play DevAppsDirect

Status

Throughput Graph

You might also like...
A download button with pretty cool animation
A download button with pretty cool animation

ArrowDownloadButton A download button with pretty cool animation, this is an implemention of https://dribbble.com/shots/2012292-Download-Animation Enj

Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK).
Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK).

HoldingButton Button which is visible while user holds it. Main use case is controlling audio recording state (like in Telegram, Viber, VK). Getting s

This is a Material Design loading button

This is a library project with a custom view that implements concept of Send Comment (https://dribbble.com/shots/1986254-Send-Comment-Shoppr) made by

comtomize view submit button which you use for submit operation or download operation and so on.
comtomize view submit button which you use for submit operation or download operation and so on.

This is library project with a custom view that implements concept of Submit Button (https://dribbble.com/shots/1426764-Submit-Button?list=likes&offse

A raised button that lowers down to 0dp of elevation
A raised button that lowers down to 0dp of elevation

RaiflatButton A raised button that lowers down to 0dp of elevation. From my blog post: https://rubensousa.github.io/2016/10/raiflatbutton It behaves l

A shopping cart button with a telescopic displacement rotation animation ...一个带伸缩位移旋转动画的购物车按钮
A shopping cart button with a telescopic displacement rotation animation ...一个带伸缩位移旋转动画的购物车按钮

AnimShopButton A shopping cart button with a telescopic displacement rotation animation ... 一个仿饿了么 带伸缩位移旋转动画的购物车按钮 注意,本控件非继承自ViewGroup,而是纯自定义View,实现的仿

Kotlin Expanding Floating Action button
Kotlin Expanding Floating Action button

Kotlin-Expanding-Floating-Action_button Home Screen As you can see there is only a siongle floating button with + icon Expanding Fab button When we cl

Floating Action Button But Moveable And Expandalbe

MeFab todo add the maven bacge here Floating Action Button but MOVEABLE and EXPA

➕ An efficient and beaufitul Multi Float action button library based on Twitter implemented in Jetpack Compose 🚀
➕ An efficient and beaufitul Multi Float action button library based on Twitter implemented in Jetpack Compose 🚀

Multi Float Action Button ➕ An efficient and beaufitul Multi Float action button library based on Twitter implemented in Jetpack Compose 🚀 Including

Comments
  • waffle.io Badge

    waffle.io Badge

    Merge this to receive a badge indicating the number of issues in the ready column on your waffle.io board at https://waffle.io/jjhesk/hkm-progress-button

    This was requested by a real person (user jjhesk) on waffle.io, we're not trying to spam you.

    opened by waffle-iron 0
  • How to set the progress bar color width?

    How to set the progress bar color width?

    Hello, when I tried to have a small ActionProcessButton, the progress bar at the button was showing only a single color in it, like, for example, to change the width of the blue color:

    thanks in advance.

    question 
    opened by bluemix 1
Releases(v0.15)
Owner
MDCCLXXVI KPT
digital currency expert, investment anaylst
MDCCLXXVI KPT
Circle button widget for Android

DEPRECATED This library is deprecated and no new development is taking place. Consider using a FAB(Floating action button) instead. E.g. the Android D

Markus Hintersteiner 1.5k Dec 9, 2022
FButton - a flat button library for Android

FButton FButton is a custom Button of Android with "Flat UI" concept. FButton's design get inspiration from designmono. This library is very small and

Le Van Hoang 1.4k Dec 12, 2022
Android button which moves in eight direction.

Moving Button Android button which moves in eight direction. Preview Sample Demo You can download demo movie file here : demo.mov It's also on Youtube

Leonardo Taehwan Kim 130 Nov 22, 2022
Button for android with animations for transition and error states.

Transition Button Android Preview Expand animation: Shake animation: Installation Gradle dependencies { implementation 'com.royrodriguez:transitionbu

Roy Rodriguez 137 Jan 3, 2023
[] Android floating action button

DEPRECATED Use the FloatingActionButton from the support library instead. FloatingActionButton Description Android floating action button which reacts

Oleksandr Melnykov 4k Jan 5, 2023
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Dec 26, 2022
[] An Android library for an expandable button menu

ExpandableButtonMenu ExpandableButtonMenu is an Android library which implements an expandable button that can be used as a substitute of a fixed size

Lemon Labs 325 Nov 14, 2022
Android library providing an implementation of the Material Design Floating Action Button Speed Dial.

Android library providing an implementation of the Material Design Floating Action Button Speed Dial.

Sanyam Mehta 6 Dec 24, 2022
A cute widget of Switch Button for you to create beautiful and friendly UI.

SwitchButton To get a quick preview, you can get Demo apk in Google Play or Directly download. This project provides you a convenient way to use and c

kyleduo 4.6k Dec 31, 2022
A simple Floating Action Button that shows an anchored Navigation View

Floating Navigation View A simple Floating Action Button that shows an anchored Navigation View and was inspired by Menu Material Fixed created by Tom

André Mion 1.3k Dec 29, 2022