Comments (3)
Also if you can consider the following:
- Allow change on corner radius.
- Add shadow (not sure if this is included in setElevation(); )
- Allow change on text size, typeface.
- Auto-dismiss tooltip onTap on the screen.
Thank you!
from tooltips.
Hi,
I will check the possibilty to add a more customized text like you requested.
About your request of a link at the tooltip, Do you know that you can use the onTipDismissed interface to react when a tip is being dismissed? and thus do anything on your mind like open a web view.
If you want to dismiss a tip as response to user interaction you can call 'findAndDismiss' from code. A good way to react to any user action on screen is to override 'onUserInteraction' of an activity.
This library uses 9-patch images for the tip background thus corner radius and shadow are fixed, The setElevation here has been modfied to discard the dynamic shadow cause it can't work well in this case but it's still important in cases where you might have a view with higher elevetion hiding your tip. I do have intention to replace those with vector shapes in the future.
Have a nice day!
from tooltips.
Hi @donjerick
Version 1.0.3 with spannable text support was releasesd. Just use the constructor with spannable parameter instead of the normal constructor.
from tooltips.
Related Issues (20)
- Make function to move ToolTip afterwards public HOT 3
- Tooltip view going outside of parent view. HOT 5
- RecyclerView HOT 3
- Tooltips much bigger than tooltip text needs when binding text from viewmodel HOT 6
- Tooltip not shown when calling from onCreate of Activity HOT 1
- Tooltip goes out of the screen. HOT 1
- ToolTip showing but not visible to the screen. HOT 1
- how to set custom tooltip width HOT 1
- Hide ToolTip On Click of Other View HOT 1
- JCenter sunset is announced; please republish library version(s) to Maven Central HOT 1
- Tooltip box size HOT 5
- Any plans to move to MavenCentral as JCenter is sunsetting on May 1st, 2021? HOT 1
- How to add Translation animation? HOT 2
- Tooltip size depending on text length HOT 3
- Can we create a custom view for the tooltip HOT 1
- builder.setTextSize(11); is not avaliable in 1.0.10 HOT 2
- App crash while show tooltip HOT 1
- Tooltip goes behind a cell in recycler view
- Tooltip view going outside
- Issue : Tooltip with RecyclerView
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tooltips.