FabButton

Additional

Language
Java
Version
N/A
Created
Feb 22, 2015
Updated
Sep 26, 2017 (Retired)
Owner
Kurt Mbanje (ckurtm)
Contributors
Thiago Rocha (thiagokimo)
Kurt Mbanje (ckurtm)
Santiago Castro (bryant1410)
Luis G. Valle (lgvalle)
Parménides GV (parmegv)
lcarmac
Dmitry (Dimdron)
AnhaytAnanun
8
Activity
Badge
Generate
Download
Source code

FabProgress

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

Demo:

Demo apk

HOW TO ADD TO YOUR PROJECT

Gradle:

dependencies {
        compile 'mbanje.kurt:fabbutton:1.2.4@aar'
}

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/determinate"
        android:layout_gravity="center"
        android:color="#ff6e9cff"
        android:src="@drawable/ic_fab_play"
        android:visibility="visible"
        android:layout_centerInParent="true"
        android:indeterminate="false"
        android:max="100"
        app:fbb_autoStart="true"
        app:fbb_progressColor="#ff170aff"
        app:fbb_progressWidthRatio="0.1"
        app:fbb_endBitmap="@drawable/ic_fab_complete"
        app:fbb_showEndBitmap="true"
        />

Apps using library

License

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.