How can I set on the screen, the 'onClick' method 'setSoundEffectEnabled(false)'?

27 Views Asked by At

My ConstraintLayout has an OnClick method, so every time the screen is touched, i works like a button. But the problem here is that I need to get rid of the default sound button but the setSoundEffectEnabled(false)' ONLY works for actual button views.

Any ideas?

0

There are 0 best solutions below