介绍 The AlertDialog class allows you to build a variety of dialog designs and is often the only dialog class you'll need. there are three regions of an alert dialog: 1.Title This is optional and should be used only when the content area is occupied by…