Create dialog in ActionBarActivity
问题 I have an activity which extends from ActonBarActivity from the support library. Now I want to add a dialog in this activity, and following the guide it seems that I have to use the DialogFragment as the dialog container: These classes define the style and structure for your dialog, but you should use a DialogFragment as a container for your dialog. The DialogFragment class provides all the controls you need to create your dialog and manage its appearance, instead of calling methods on the