loading-dots - Android进度条

jopen 8年前

介绍:

可自定义的圆点跳跃加载效果。多用于聊天窗口中对方用户的输入提示。

运行效果:

使用说明:

Import

    compile 'com.eyalbira.loadingdots:loading-dots:1.0.2'

Usage

For basic usage, simply add to layout xml:      <com.eyalbira.loadingdots.LoadingDots              android:layout_width="wrap_content"              android:layout_height="wrap_content"/>

要自定义,只需使用其属性:

    <com.eyalbira.loadingdots.LoadingDots              xmlns:app="http://schemas.android.com/apk/res-auto"              android:layout_width="wrap_content"              android:layout_height="wrap_content"                app:LoadingDots_auto_play="true"                app:LoadingDots_dots_color="@android:color/holo_blue_light"              app:LoadingDots_dots_count="4"              app:LoadingDots_dots_size="3dp"              app:LoadingDots_dots_space="1dp"                app:LoadingDots_loop_duration="800"              app:LoadingDots_loop_start_delay="100"                app:LoadingDots_jump_duration="200"              app:LoadingDots_jump_height="4dp"/>

官方网站:http://www.open-open.com/lib/view/home/1451982877308




来自: http://www.jcodecraeer.com/a/opensource/2016/0104/3825.html