java - Click on built-in menu button on Samsung devices when my app is opened sounds twice -


click on built-in menu button on samsung devices when app opened sounds twice (when sounds of clicks on devices enabled). that's menu file main.xml:

<menu xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto">      <item android:id="@+id/settings"         android:title="@string/settings"         app:showasaction="never" />  </menu> 

that's how inflate in activity:

@override public boolean oncreateoptionsmenu(menu menu) {     getmenuinflater().inflate(r.menu.main, menu);     return true; } 

i've noticed, behaviour of button on other apps normal, doing wrong?

try use 'com.android.support:appcompat-v7:21.0.3' instead latest in project dependencies. read more


Comments