Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to show tooltip on long press of tab item ? #206

Open
Khareesh0892 opened this issue Nov 22, 2018 · 1 comment
Open

Is there a way to show tooltip on long press of tab item ? #206

Khareesh0892 opened this issue Nov 22, 2018 · 1 comment

Comments

@Khareesh0892
Copy link

Like reddit does, is there a possibility to show tooltip on long press of navigation tab item? Our use case is not to show labels every time because it looks redundant for old users.

So, from android documentation i could see that it can be set through xml as android:tooltipText="ToolTip" and from code it can be set as view.setTooltipText("ToolTip");. I don't understand how to setTooltipText for each tab view.

Here is the ToolTip official documentation.

Here is the snapshot from reddit.
screenshot_20181122-151201

Please help me asap.

@Ashok-Varma
Copy link
Owner

Right now now i can create a listener for long press i guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants