阅读背景:

应用材料设计触摸纹波到图像按钮?

来源:互联网 

I have an imagebutton that doesn't respond with a touch animation when it is clicked because it is a static image unlike regular buttons on lollipop which come with the built in ripple effect. I would like to add the material design ripple touch effect to the image but can't seem to find a way to implement it. I can set a color filter over the image but that is not the ripple effect. An example of what I'm trying to do is when you hold an album cover image in Google Play Music and a shadow ripple moves across the image.I have an imagebutton that doesn't respond with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: