如何在棒棒糖中长按按钮以禁用波纹效果? [英] How to disable ripple effect on long press of a button in lollipop?
本文介绍了如何在棒棒糖中长按按钮以禁用波纹效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在棒棒糖中长按按钮来禁用波纹效果?
How to disable ripple effect on long press of a button in lollipop?
使用夏洛克时,长按按钮不会显示波纹效果,但是当我使用appcompatpat时,单击和长按按钮也会显示波纹效果.我不希望在按下按钮时有任何涟漪效应
When using sherlock long press of a button is not showing ripple effect but when i use appcompat it is showing a ripple effect on click and also on long click of a button . I do not want any ripple effect on the press of a button
推荐答案
Thanks to this and this answer.
这篇关于如何在棒棒糖中长按按钮以禁用波纹效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文