teraz
This commit is contained in:
parent
90aa21be1d
commit
672a6bee06
@ -350,7 +350,8 @@ public abstract class BaseActivity
|
||||
|
||||
anchorView.getLocationOnScreen(location);
|
||||
// Using location, the PopupWindow will be displayed right under anchorView
|
||||
popupWindow.showAsDropDown(anchorView,0,170,Gravity.RIGHT);
|
||||
// popupWindow.showAsDropDown(anchorView,6,170,Gravity.RIGHT|Gravity.CENTER);
|
||||
popupWindow.showAtLocation(anchorView,Gravity.TOP|Gravity.RIGHT, 0, 0);
|
||||
// popupWindow.showAtLocation(anchorView, Gravity.NO_GRAVITY,
|
||||
// location[0] + anchorView.getWidth() / 2, location[1] + anchorView.getHeight());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user