通常我们的App中, 在标题的位置, 点击需要弹出菜单, 效果如下:
这很难吗? 拿起键盘就是干…
public void showAsDropDown(View anchor, int xoff, int yoff) {
showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
通常我们的App中, 在标题的位置, 点击需要弹出菜单, 效果如下:
这很难吗? 拿起键盘就是干…
public void showAsDropDown(View anchor, int xoff, int yoff) {
showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);