How to set up the pupwindow display position The button above?
ma969070578 opened this issue · 2 comments
ma969070578 commented
popupWindow.showAtLocation(v, Gravity.NO_GRAVITY, location[0], location[1]-popupWindow.getHeight());
popupWindow.getHeight()=-2?
pj210493 commented
@ma969070578
Did you get your answer, if yes plz let me know.
Arkuda commented
@ma969070578
@pj210493
popupWindow.showAtLocation(v, Gravity.NO_GRAVITY, location[0], location[1] - v.getHeight()- 360);
where 360 - it height of popup window