-
Notifications
You must be signed in to change notification settings - Fork 6
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
possibility of returning span position? #10
Comments
Hello, Could you show a code example using |
Hi, thanks for the quick responsible, i havent used the library, instead
working directly with the builder and overridden clickable span. Now i need
to get the location and pass is to an anchor of a tooltip to display that
view. Tooltip libraries by default only accept a view as an anchor, i may
have to build some functionality as a work around to pass coords instead of
the view.
I'll post the code as i am back on my workstation. But to explain what i am
looking for, is a mean to get position of the span so i can add a relative
layout, such as a tooltip.
…On Wed, Mar 28, 2018, 16:27 Andrius Semionovas ***@***.***> wrote:
Hello,
Could you show a code example using SpannableStringBuilder of this
feature?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJERSlCjS5mjwGon9hqcKP2SJkWZDWvPks5ti3OpgaJpZM4S-dFm>
.
|
This library is just a wrapper for |
Thanks. Will add it soon though right now i am like pulling my hair,
probably will need to draw rectangles or somehow get positions by
ontouchevent on clickable span and may be then pass it to a relative view.
As common as this use case is, I'm puzzled I'm not finding much help from
google.
…On Wed, Mar 28, 2018, 18:55 Andrius Semionovas ***@***.***> wrote:
This library is just a wrapper for SpannableStringBuilder and helps avoid
labor work for calculating span positions. However, this problem looks
quite interesting, and maybe I could make some tweaks to help implement
this feature. But first, I am needed to know possible solutions. I look
forward to seeing a sample from you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJERSkOBzx-rLA2kShMqXgA5M189tUV7ks5ti5ZagaJpZM4S-dFm>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to return a span position so i could open a custom view below it (pop up) with an anchor/pointer to that particular text. Could you guide how i can do it with this library>?
The text was updated successfully, but these errors were encountered: