Open fabrizziocht opened 5 years ago
I found a way to manually setup the position like this
Do this after .show();
int x, y;
final Rect rect = new Rect();
mPalette.getGlobalVisibleRect(rect);
x = rect.left - mToolTipViewCreate.getWidth() - 10;
y = rect.top;
mToolTipViewCreate.setTranslationX(x);
mToolTipViewCreate.setTranslationY(y);
its working for ViewTooltip.Position.LEFT
It seems to be regression. For me this problem appeared on attempt to upgrade to 1.2.0 from 1.1.0.
I am compiling StreetComplete - https://github.com/westnordost/StreetComplete/
Hello, I'm trying to display tooltip but position doesn't match, here is my code:
in kotlin side:
Here's an image with the problem result:![screenshot_20190102-151819_early alert](https://user-images.githubusercontent.com/18638469/50610751-187f5680-0ea2-11e9-80cc-4e13f4c250cc.jpg)