MasayukiSuda / BubbleLayout

Bubble View for Android.
973 stars 135 forks source link

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

Closed ma969070578 closed 6 years ago

ma969070578 commented 8 years ago

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

popupWindow.getHeight()=-2?

pj210493 commented 7 years ago

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

Arkuda commented 6 years ago

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

where 360 - it height of popup window