Im using
implementation 'com.google.android.material:material:1.1.0-alpha09'
this is my menu
<item
android:id="@+id/llHome"
android:icon="@drawable/selector_menu_home"
android:title="@string/navigation.bottom.home"
app:tooltipText="@null" />
but as much as I write long click or disable it, the tooltip with the name of the menu continues to appear. Any idea how to disable the tooltip?
CSS) The tooltip class use position:relative, which is needed to position the tooltip text (position:absolute). Note: See examples below on how to position the tooltip. The tooltiptext class holds the actual tooltip text. It is hidden by default, and will be visible on hover (see below).
A tooltip is often used to specify extra information about something when the user moves the mouse pointer over an element: Top. Tooltip text. Right. Tooltip text. Bottom. Tooltip text. Left. Tooltip text.
The tooltiptext class holds the actual tooltip text. It is hidden by default, and will be visible on hover (see below). We have also added some basic styles to it: 120px width, black background color, white text color, centered text, and 5px top and bottom padding.
BottomNavigationView is the best option for navigation in android. It makes life easier for a user to switch between multiple activities and fragments. It’s really a pain in the butt to use an android app without having proper navigation.
It will either show the tooltip text or the tab title. You might be able to clear out the text by iterating over all the BottomNavigationItemView
s and calling TooltipCompat.setTooltipText(view, null)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With