Android Developers Develop Reference Stay organized with collections Save and categorize content based on your preferences. added in version 25.1.0 belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1 Summary: Inherited Constants | Ctors | Methods | Inherited Methods | [Expand All] AppCompatDialogFragment public class AppCompatDialogFragment extends DialogFragment java.lang.Object ↳ android.support.v4.app.Fragment ↳ android.support.v4.app.DialogFragment ↳ android.support.v7.app.AppCompatDialogFragment A special version of DialogFragment which uses an AppCompatDialog in place of a platform-styled dialog. See also: DialogFragment Summary Inherited constants From class android.support.v4.app.DialogFragment int STYLE_NORMAL Style for setStyle(int, int): a basic, normal dialog. int STYLE_NO_FRAME Style for setStyle(int, int): don't draw any frame at all; the view hierarchy returned by onCreateView(LayoutInflater, ViewGroup, Bundle) is entirely responsible for drawing the dialog. int STYLE_NO_INPUT Style for setStyle(int, int): like STYLE_NO_FRAME, but also disables all input to the dialog. int STYLE_NO_TITLE Style for setStyle(int, int): don't include a title area. Public constructors AppCompatDialogFragment() Public methods Dialog onCreateDialog(Bundle savedInstanceState) Override to build your own custom Dialog container. Inherited methods From class android.support.v4.app.DialogFragment void dismiss() Dismiss the fragment and its dialog. void dismissAllowingStateLoss() Version of dismiss() that uses FragmentTransaction.commitAllowingStateLoss(). Dialog getDialog() boolean getShowsDialog() Return the current value of setShowsDialog(boolean). int getTheme() boolean isCancelable() Return the current value of setCancelable(boolean). void onActivityCreated(Bundle savedInstanceState) Called when the fragment's activity has been created and this fragment's view hierarchy instantiated. void onAttach(Context context) Called when a fragment is first attached to its context. void onCancel(DialogInterface dialog) void onCreate(Bundle savedInstanceState) Called to do initial creation of a fragment.