docs: private PopupMenu createMenu(View v, String[] menuArray) {
          PopupMenu popupMenu = new PopupMenu(this, v);
          Menu menu = popupMenu.getMenu();
          for (int i = 0; i < menuArray.length; i++) {
              String menuText = menuArray[i];
              menu.add(0, i, i, menuText);
          }
          return popupMenu;
      }