Android Question How do I make the dialog change with the position of the selected word ?

Discussion in 'Android Questions' started by nanjidusan, Apr 22, 2019.

Tags:
  1. nanjidusan

    nanjidusan Member Licensed User

    bubble.GIF

    Is there a suggestion or solution?
     
  2. DonManfred

    DonManfred Expert Licensed User

    You can use Charsequence Builder and use Clickable words.
    Or you can use the Lib Linker.

    In both cases you need to show the popup by yourself (using asyncdialogs for example).
     
  3. nanjidusan

    nanjidusan Member Licensed User

    Thank you . I have tried using csbuilder and dialog . But I don't know how to dynamically adjust the position of the dialog .
     
  4. DonManfred

    DonManfred Expert Licensed User

    You can not control the position of the Dialogs. It is always centered.

    You can try to find a popup library which maybe is able to do a similar solution...
    But both of the methods i suggested does not provide the position of the text clicked.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You can use a regular panel instead of a dialog.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice