Im writing an app with voice activated buttons. I would like the buttons on screen, when long-pressed to pop a toast next to the button giving the voice command the app will recognize (kind of like a tooltip). The toast should appear next to the button and last only as long as the button is held.
Questions:
*How to set Toast length to custom (long-click duration) time
*How to change position of toast to be closer to button clicked