准备: public class ActionSheet { public interface OnActionSheetSelected { void onClick(int whichButton); } private ActionSheet() { } public static Dialog showSheet(final Context context, final int layoutId, final OnActionSheetSelected actionSheetSelect…