The solution was to check for the single list item condition and then set the ListView divider's height to 0.
AlertDialog alertDialog = builder.create();
if (getActivity().getResources().getStringArray(itemsId).length == 1)
alertDialog.getListView().setDividerHeight(0);
return alertDialog;