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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you’re looking for is android:soundEffectsEnabled which can be set in the xml-document with
or directly in java code with the corresponding
setSoundEffectsEnabled(boolean)method.