Hi, I have to disable the "click" sound on all my interface, but I can't get it to work on Spinner items. No matter what I do, I always get the sound when I select a item on a Spinner:
That's what I tried: <Spinner android:id="@+id/selecao_ordem" *** android:soundEffectsEnabled="false" /> My spinner item: <CheckedTextView xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@android:id/text1" style="?android:attr/spinnerDropDownItemStyle" android:singleLine="true" android:layout_width="match_parent" android:layout_height="?android:attr/listPreferredItemHeight" android:ellipsize="marquee" android:soundEffectsEnabled="false" /> And on Java code: ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, getResources().getStringArray(R.array.selecao_ordem_opts)); adapter.setDropDownViewResource(R.layout.spinner_item); selecao_ordem.setAdapter(adapter); selecao_ordem.setSelection(opcoes.ordem); selecao_ordem.setSoundEffectsEnabled(false); What am I doing wrong? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

