android - How can I disable clicking sound for Action Menu button? -


seems straight forward, can't find in documentation how disable sound (water drop sound) plays when click button.

the reason important, button records audio. , when play audio, can hear button clicking.

thanks

you can using attribute in xml:

android:soundeffectsenabled="false" 

or in code by:

btn.setsoundeffectsenabled(false); 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -