Android 对底层 API 的涟漪效应

标签 android android-layout rippledrawable

我期待在 android View 上开发涟漪效应。

我搜索了很多,发现可以在 Android Lollipop 中使用 RippleDrawable .以较低的 API 版本为目标时,是否有等效的功能可用?

最佳答案

试试这个:
Simple Tricky Android Ripple
我很确定这会奏效。

关于Android 对底层 API 的涟漪效应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28498205/

相关文章:

Android 模拟器在视网膜显示器上看起来很糟糕(像素化)

java - 如何将 ArrayList 从 Activity 发送到 NavigationDrawerFragment?

android - Intent 不会带我去下一个 Activity ,而是带我去上一个 Activity

android - 使用额外数据从 NFC 标签启动 Android 应用程序

android - 虚拟盒子上android模拟器的自定义分辨率

android - 如何在 android 运行时动态准备 ui?

android-layout - 首次启动时的帮助屏幕(9 补丁)

android - 为什么我的 FloatingActionButton 即使在静止状态下也有涟漪效应?

android - 具有彩色背景和波纹效果的 ListView 选择器

java - 将 RippleEffect Color 更改回其 Styled 原始值