FabButton

介绍:

带进度显示的的悬浮操作按钮

运行效果:

使用说明:

Gradle

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

使用

<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:fbb_autoStart="true"
        app:fbb_progressColor="#0099cc"
        app:fbb_progressWidthRatio="0.2"
        android:layout_centerHorizontal="true"
        android:layout_above="@+id/determinate"
        android:layout_marginBottom="48dp"
        />
已下载
0