MasayukiSuda/BubbleLayout

How to set up the pupwindow display position The button above?

ma969070578 opened this issue · 2 comments

popupWindow.showAtLocation(v, Gravity.NO_GRAVITY, location[0], location[1]-popupWindow.getHeight());

popupWindow.getHeight()=-2?

@ma969070578
Did you get your answer, if yes plz let me know.

@ma969070578
@pj210493
popupWindow.showAtLocation(v, Gravity.NO_GRAVITY, location[0], location[1] - v.getHeight()- 360);

where 360 - it height of popup window