开发者

Android Prepressed State of View

开发者 https://www.devze.com 2023-03-13 08:59 出处:网络
I am working on an app that will let the user trigger a sound by touching multiple views. Unfortunately, the android goes into a prepressed state (of 120 millisec I think)before recognizing a real pre

I am working on an app that will let the user trigger a sound by touching multiple views. Unfortunately, the android goes into a prepressed state (of 120 millisec I think) before recognizing a real press and play the sound. This is a significant problem for my application as I need the sounds to be triggered without that lag. Is the开发者_如何学Gore any known way to avoid the prepressed state of android? can you suggest another approach to solving this problem?

Thank you


If you are using the OnTouchListener and not a button, I would think that it would be fairly responsive.

0

精彩评论

暂无评论...
验证码 换一张
取 消