Skip to content

wenhuiyao/ShimmerImageView

Repository files navigation

ShimmerImageView

Add shimmer effect to an image. To use with Views, take a look at Facebook's ShimmerView

Alt text

Example

Usage

<com.wenhui.shimmerimageview.ShimmerImageView
    ......
    app:startAnimation="true"
    app:maskSpecs_maskMode="src_in"
    app:maskSpecs_dropOff="0.3"
    app:maskSpecs_maskColor="#DDDDDD"
    app:maskSpecs_animationDuration="2000"
    app:maskSpecs_intensity="0.1"
    app:maskSpecs_startDelayed="0"
    />

Usage

gradle:

compile 'com.wenhui:shimmer-imageview:0.4.0'