Example usage for Java android.app DialogFragment fields, constructors, methods, implement or subclass
The text is from its open source code.
int | STYLE_NORMAL Style for #setStyle(int,int) : a basic, normal dialog. |
int | STYLE_NO_TITLE Style for #setStyle(int,int) : don't include a title area. |
int | STYLE_NO_FRAME Style for #setStyle(int,int) : don't draw any frame at all; the view hierarchy returned by #onCreateView is entirely responsible for drawing the dialog. |
void | dismiss() Dismiss the fragment and its dialog. |
void | dismissAllowingStateLoss() Version of #dismiss() that uses FragmentTransaction#commitAllowingStateLoss() FragmentTransaction.commitAllowingStateLoss() . |
Bundle | getArguments() Return the arguments supplied to #setArguments , if any. |
Dialog | getDialog() |
int | getTheme() |
boolean | isAdded() Return true if the fragment is currently added to its activity. |
boolean | isVisible() Return true if the fragment is currently visible to the user. |
void | onActivityResult(int requestCode, int resultCode, Intent data) Receive the result from a previous call to #startActivityForResult(Intent,int) . |
void | setArguments(Bundle args) Supply the construction arguments for this fragment. |
void | setCancelable(boolean cancelable) Control whether the shown Dialog is cancelable. |
void | setShowsDialog(boolean showsDialog) Controls whether this fragment should be shown in a dialog. |
void | setStyle(int style, int theme) Call to customize the basic appearance and behavior of the fragment's dialog. |
void | setTargetFragment(Fragment fragment, int requestCode) Optional target for this fragment. |
void | show(FragmentManager manager, String tag) Display the dialog, adding the fragment to the given FragmentManager. |
int | show(FragmentTransaction transaction, String tag) Display the dialog, adding the fragment using an existing transaction and then committing the transaction. |