[android] view 기본 click 소리 내는 방법.
안드로이드, view 기본 click 소리 내는 방법. VIew attribute 설정 먼저 view 가 sound effect 를 낼 수 있는 조건을 만들어야 한다.code ( programatically ) 로도 만들 수 있고, xml 로도 만들 수 있다. android:soundEffectsEnabled="true" view.setSoundEffectsEnabled (true ); 소리 내기 view.playSoundEffect( SoundEffectConstants.CLICK ); Android, android:soundeffectenabled, attribute, Click, CODE, condition, playsoundeffect, Programatically, setsoundeffecten..
2013. 10. 30.