液态玻璃效果 - 真实的折射与色散效果- 高度可定制 - 支持调整圆角半径、折射高度、折射偏移、色散参数、模糊半径、色调等
在 Android 13 以下的设备上,将保持透明的背景,不会呈现任何效果
在模块的 build.gradle 文件中添加依赖项:
dependencies {
implementation 'com.qmdeve.liquidglass:core:1.0.3'
}请查看文档,以了解如何使用该库
文档:https://liquidglass.qmdeve.com/
Copyright ©️ 2025-2026 Donny Yang
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
