Android Menu item's tool-tip in the ToolBar doesn't work properly -


from action bar documentation:

if action item appears icon, user can long-press item reveal tool-tip displays action item's title. android:icon optional, recommended.

but android menu item's tool-tip in toolbar doesn't work in case.

this have in styles.xml:

<style name="apptheme.base" parent="theme.appcompat.noactionbar">     <!-- actionbar color -->     <item name="colorprimary">@color/colorprimary</item>     <!--status bar color-->     <item name="colorprimarydark">@color/colorprimarydark</item>     <!--window color-->     <item name="android:windowbackground">@null</item>      <!--drawerarrowstyle-->     <item name="drawerarrowstyle">@style/drawerarrowstyle</item>      <!--activity enter , exit animation-->     <item name="android:windowanimationstyle">@style/translateenterexitanimation</item>      <!--<item name="coloraccent">#ec9290</item>-->     <item name="android:autocompletetextviewstyle">@style/cursorcolor</item> </style> 

and toolbar:

<android.support.v7.widget.toolbar     android:id="@+id/toolbar"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:background="?attr/colorprimary"     android:minheight="?attr/actionbarsize" /> 

and menu_feedback.xml

<item     android:id="@+id/menu_item_action_send"     android:title="@string/send_text"     android:icon="@drawable/ic_actionbar_send"     app:showasaction="always"/> 

i on htc devices, ps: nexus 5 ok. enter image description here

but normal toast ok. enter image description here

so, there elegant solution make tool-tip work properly? thx.

i not sure if can override default behavior ease, work-around can create own items as hinted here, , able set listeners own items, , show toast under items on long press events.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -