Home Android HKM ProgressButton

Android HKM ProgressButton

Android HKM ProgressButton

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

  • [x] ActionProcessButton
  • [x] ArrowButton
  • [x] GenerateProcessButton
  • [x] SubmitProcessButton
  • [x] AnimationProcessButton

Android Buttons With Built-in Progress Meters.

Read more with the development guide in Wiki


There are several attributes you can set:

attrdescriptionbutton module base
pb_textProgressthe text content when the process is proceedingProcessButton
pb_textCompletethe complete textProcessButton
pb_textErrorerror message on the buttonProcessButton
pb_colorProgressthe color resource reference on processProcessButton
pb_colorCompletethe color resource reference on process completedProcessButton
pb_colorErrorthe color resource reference when its errorProcessButton
pb_colorPressedas readFlatButton
pb_colorNormalas readFlatButton
pb_colorDisabledas readFlatButton
pb_colorBorderas readFlatButton
pb_borderWidthas readFlatButton
pb_cornerRadiusas readFlatButton
pb_presentationas read there are two options: pad_button, flat_buttonFlatButton
pb_colorArrowcolor reference to tint the arrowArrowButton
pb_arrowResthe drawable reference for the buttonArrowButton
pb_verticalPaddingdimension reference padding between top and bottom on the icon on right sideArrowButton
pb_topLineThicknessdimension reference for the line thickness on the topArrowButton
pb_bottomLineThicknessdimension reference for the line thickness on the bottomArrowButton

Code Sample

        add_bag = (ActionProcessButton) findViewById(R.id.add_to_bag);
        // set the progress mode on 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() {
            public void onClick(View v) {
                Intent h = new Intent(context, CartWebViewStyleTopBar.class);


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'}


<img alt="Android app on Google Play" src="https://developer.android.com/images/brand/en_app_rgb_wo_45.png" /> <img alt="DevAppsDirect" src="http://www.inappsquared.com/img/icons/devappsdirect_icon.png" width="48" height="48" />


Throughput Graph

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    20 − 1 =

    Leave a Comment

    5 + 20 =