devilWwj / FabButton

Android Floating ActionButton with a progress indicator ring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##FabProgress Android Circular floating action button with intergrated progress indicator ring As per material design docs

##Demo:

FabButton 365 Body Workout

alt text

##HOW TO ADD TO YOUR PROJECT Download

Gradle:

dependencies {
        compile 'mbanje.kurt:fabbutton:1.0.1'
}

##Usage

  • Use FabButton: (check the demo app included)
<view
        android:layout_width="@dimen/button_size"
        android:layout_height="@dimen/button_size"
        class="mbanje.kurt.fabbutton.FabButton"
        android:id="@+id/indeterminate"
        android:layout_gravity="center"
        android:color="#aa66cc"
        android:src="@drawable/ic_fab_play"
        android:visibility="visible"
        android:indeterminate="true"
        android:max="100"
        app:autoStart="true"
        app:progressColor="#0099cc"
        app:progressWidthRatio="0.2"
        android:layout_centerHorizontal="true"
        android:layout_above="@+id/determinate"
        android:layout_marginBottom="48dp"
        />

About

Android Floating ActionButton with a progress indicator ring


Languages

Language:Java 100.0%