Android: How to remove overflow menu icon tooltip? -


in android, when onlongclick overflow menu item icon, tooltip of title appear.

i've tried setting menu title blank, blank tooltip pop up.

<menu xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto">      <item android:id="@+id/action_icon"         android:title="icon title"         android:icon="@drawable/ic_myicon"         app:showasaction="always"/> </menu> 

notes:

• i'm using app namespace because android studio telling me use due having theme.appcompat.light.noactionbar theme. i've tried android namespace. doesn't work either.

• menu created in fragment hasoptionsmenu(true).

• actionbar toolbar.

how can remove tooltip if it's possible? thanks!

yes possible. in java class remove public boolean oncreateoptionsmenu(menu menu) , job done. if no remove java class public boolean onoptionsitemselected(menuitem item)


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -