ShadowImageView
🔥可以根据图片内容变阴影颜色,更加细腻的阴影效果 It can change color according to the picture, more delicate shadow effect
Install / Use
/learn @yingLanNull/ShadowImageViewREADME
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:
http://www.apache.org/licenses/LICENSE-2.0
Related Skills
healthcheck
347.0kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
347.0kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
347.0kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
