I can't find in our segment of the Internet this decide. I work on Android game, and I can't disable click sound on application level, when the user click on clickable elements: buttons, imageViews etc.
But I know that I can do this using smartphone menu, but this solution not good.
Then, how I can disable this sounds using android studio code?
Thanks for your all answers and your wasted time!
您只需要在代码外添加此行即可禁用声音
Button.setSoundEffectsEnabled(false);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.