android – 你如何获得涟漪效应来扩展视图范围?

触摸涟漪效应在这里超越了界限.这是怎么做到的?

编辑:我只能在5.0上工作.

解决方法

我从几个地方读到:

If you want to apply the standard ripple effect on Android 5.0: API 21
or more,which should not be limited to your view (unbounded ripple),
just apply to your View background :

android:background="?android:attr/selectableItemBackgroundBorderless"

相关文章

Android 如何解决dialog弹出时无法捕捉Activity的back事件 在...
Android实现自定义带文字和图片的Button 在Android开发中经常...
Android 关于长按back键退出应用程序的实现最近在做一个Andr...
android自带的时间选择器只能精确到分,但是对于某些应用要求...