ShadowLayout
Android阴影布局,支持自定义边界形状
Install / Use
/learn @goweii/ShadowLayoutREADME
ShadowLayout
Android阴影布局
-
支持自定义边界形状
- 自定义:ShadowLayout
- 圆角:RoundedShadowLayout
- 箭头:PopupShadowLayout
-
支持内阴影和外阴影
- 内阴影:阴影会占据布局空间,即留出阴影的padding。
- 外阴影:阴影会不会占据布局空间。
如何接入
- 在根目录build.gradle添加jitpack仓库
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- 在module的build.gradle添加依赖
dependencies {
implementation 'com.github.goweii:ShadowLayout:Tag'
}
效果展示
可以下载Demo体验
|
|
|
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| RoundedShadowLayout | PopupShadowLayout |
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
