Giter Site home page Giter Site logo

stooltip's People

Contributors

jesualex avatar luisvasquez avatar wmdhartman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stooltip's Issues

Tooltip is not close on list scroll

I have open tooltip on click of list item in list Adapter but now problem is that, on scrolling it is not hiding.
Please help to resolved this issue.

Support for RTL languages

Hi, thanks for writing this lib. I was planning to use in my app because it's really straightforward to use, but I just found that the tooltips won't work well when the phone is set to Hebrew (and probably to other RTL languages). I hope you can fix it soon.

Cheers.

Bruno.

Adjustment and arrow position issue when using custom root view

Hey Jesus

One more thing I'm struggling with:
I'm using custom rootView fun on(refView: View, rootView: View? = null): TooltipBuilder constructor (CardView is the rootView on this screenshot) and there are 2 issues:

  1. The tooltip doesn't adjust itself properly and gets cut off
  2. The arrow should be in the middle of "7 palabras" TextView, as I use it as a refView

Screenshot_20200129_154804_com owlab speakly

It looks like it's just not calculating the position of the tooltip properly (maybe due to some margins or something?) and hence we have these 2 problems.
Do you think you can fix that?

Thanks, appreciate your work.

Check for multiple show() calls and/or provide isShown() method

Currently calling show() twice throws an exception.
It would be nice to have if (!isShown()) show() check or simply to provide an isShown() method so we could perform this check manually. (Same logic with close)

Thanks, Jesus, this library is awesome!

Arrow don't align to refView

When tooltip width very large, example == screen width, the arrow aways on center of tooltip, if refView not center in window, arrow will not align center to refView.

Proposal solutions:

  1. arrow position flow on tooltip to align to refView
  2. provide set tooltip window width method

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.