question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BottomNavigationView item overrides the tooltip

See original GitHub issue
  • I have verified the issue exists on the latest version
  • I am able to reproduce it

When I setting tooltip for BottomNavigationView item its overrides the tooltip.

TapTargetView.showFor(this,
                TapTarget.forView(bottomNavigationView.findViewById(R.id.action_menu), "This is a target", "We have the best targets, believe me"),   
                new TapTargetView.Listener() {
                    @Override
                    public void onTargetClick(TapTargetView view) {
                        super.onTargetClick(view);
                        Toast.makeText(ExampleActivity.this, "Test", Toast.LENGTH_SHORT).show();
                    }
                });

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

2reactions
xiphirxcommented, Jan 24, 2018

Ah, you’re tinting your target. Try .transparentTarget(true)

1reaction
soheilazimi2017commented, Jun 1, 2019

Thank you. It’s working good. @xiphirx

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to hide tooltips on menuItem's in BottomNavigationView?
If you do not want to show this tooltip on long click, you can override BottomNavigationItemView's long click behavior by setting ...
Read more >
How to hide tooltips on menuItem's in BottomNavigationView?
Currently there isn't a method to show/hide the tooltip. You can set the tooltipText with: TooltipCompat.setTooltipText(item,"...") bottomNavigationView.
Read more >
Bottom navigation - Material Design
Default platform navigation can be overridden when needed to improve the user experience. For example, an Android app that requires frequent switching between ......
Read more >
BottomNavigationBar class - material library - Dart API
A material widget that's displayed at the bottom of an app for selecting among a small number of views, typically between three and...
Read more >
Hands-on with Material Components for Android: Bottom ...
The navigation destinations of a BottomNavigationView are added by ... A tooltip will be shown above a navigation item when it is long...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found