Disable Ripple on ListView

前端 未结 3 982
醉梦人生
醉梦人生 2021-02-19 09:46

In Android 5.0, my ListView produces a ripple effect when clicking a list item. Is there a way to disable this effect? Looking at the docs, I don\'t see any way (https://develop

3条回答
  •  死守一世寂寞
    2021-02-19 10:35

    Try:

    
    

    This will disable any visual effect of touching. Not very good for the user, but might be useful in special circumstances.

提交回复
热议问题