public SimplePopupMenu addItemClickListener(final @IdRes int id, final OnItemClickListener listener) {
        this.itemListeners.put(id, listener);
        return this;
    }
Will only have an effect if no view is set as anchor. Both values are in px.
main/src/main/java/cgeo/geocaching/ui/dialog/SimplePopupMenu.java