The problem was I couldn't figure out how to get a layout inflater from within the context of the CustomMenu class and PopupWindow.
Getting the layout inflater from inside the main activity takes zero effort.