background image

24

.setNeutralButton(“Cancel”,   new DialogInterface.OnClickListener() {   

25

public void onClick(DialogInterface dialog, int whichButton)   {   

26

}   })   

27

.show();   }   

28

})   .show();   

29

}   });   

30

}   } 

Android AlertDialog 具体使用方法就为大家介绍到这里。