You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to place a tooltip to the bottom-right of a view, which happens to be at the right most side of the screen.
However, not using fitToScreen ends up with tooltip being outside of the screen, where an xOffset needs to be set, however this offset is not very reliable since the text can change in the tooltip.
Using fitToScreen also ends up creating a problem where tooltip automatically is set to Gravity.LEFT since bottom is not an option ( because it tries to draw it outside of the screen )
I am trying to place a tooltip to the bottom-right of a view, which happens to be at the right most side of the screen.
However, not using
fitToScreen
ends up with tooltip being outside of the screen, where an xOffset needs to be set, however this offset is not very reliable since the text can change in the tooltip.Using fitToScreen also ends up creating a problem where tooltip automatically is set to
Gravity.LEFT
since bottom is not an option ( because it tries to draw it outside of the screen )Here is a piece of code:
The text was updated successfully, but these errors were encountered: