yingLanNull / ShadowImageView
- пятница, 31 марта 2017 г. в 03:11:37
Java
可以根据图片变颜色,更加细腻的阴影效果 It can change color according to the picture, more delicate shadow effect
More exquisite shadow effect, used in some special scene to enhance the user experience.
<com.yinglan.shadowimageview.ShadowImageView
android:id="@+id/shadow"
android:layout_width="300dp"
android:layout_height="300dp"
app:shadowRound="20dp"
app:shadowSrc="@mipmap/lotus" />
shadow.setImageResource(resID);
See PPMusicImageShadow, the effect of time has made the simple implementation no upload Jcenter library, there may be a potential problem for study and communication, looking forward to you have a better way of implementation.
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: