ShadowImageView
Abstract
More exquisite shadow effect, used in some special scene to enhance the user experience.
Chinese Documents
Picture
GIF
Add Picture
Demo
Usage
Gradle
dependencies {
compile 'com.yinglan.shadowimageview:shadowimageview:1.0.4'
}
In layout
<com.yinglan.shadowimageview.ShadowImageView
android:id="@+id/shadow"
android:layout_width="300dp"
android:layout_height="300dp"
app:shadowRound="20dp"
app:shadowSrc="@mipmap/lotus"
app:shadowColor="@color/colorAccent"/>
Set Picture
shadow.setImageResource(resID);
shadow.setImageDrawable(drawable);
shadow.setImageBitmap(bitmap);
Set the picture radius
shadow.setImageRadius(radius);
Set the shadow color of the image
shadow.setImageShadowColor(color);
Notice
SeePPMusicImageShadow, do a simple implementation, there may be a potential problem and use learning exchanges, looking forward to you have a better way of implementation.
License
The work done has been licensed under Apache License 2.0. The license file can be found here. You can find out more about the license at:

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.




