我想禁用的Android应用程序特定按钮的点击声。
I want to disable click sound of a particular button in android app.
下面是我的code:
more1after.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
sc.scrollTo(sc.getScrollX() +
75,sc.getScrollY() +
sc.getWidth()+5);
}
});
请建议我如何禁用Android应用程序特定按钮的点击声音?
Please suggest me how to disable click sound of a particular button in android app?
试试这个$ C $下禁用按钮点击声音效果:
Try this code for disable button click sound effect:
yourbutton.setSoundEffectsEnabled(false);