How can I disable the click sound when a listview item is tapped ?
PS: I have android 2.3.4 and create the listview with Java.
Edit: I solved it by adding:
android:soundEffectsEnabled="false"
to the xml of the listview layout.
What you're looking for is android:soundEffectsEnabled which can be set in the xml-document with
android:soundEffectsEnabled="false"
or directly in java code with the corresponding
setSoundEffectsEnabled(boolean)
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With