Top "Android-dialogfragment" questions

DialogFragment is a fragment that displays a dialog window, floating on top of its activity's window.

How to create a DialogFragment without title?

I'm creating a DialogFragment to show some help messages regarding my app. Everything works fine besides one thing: There is …

android android-dialogfragment
How to make DialogFragment width to Fill_Parent

I am working on an android application where I am using DialogFragment to display the dialog but its width is …

android android-layout android-fragments android-dialogfragment
How to change background color of the snackbar?

I am showing snackbar in DialogFragment Within the Positive click of alertDialog. Here is my code snippet. Snackbar snackbar = Snackbar.…

android material-design android-dialogfragment android-snackbar
How to change the background color around a DialogFragment?

I'm building a custom DialogFragment. The dialog layout is set to my_dialog.xml, but how can I modify the …

android background android-dialogfragment android-styles
DialogFragment and onDismiss

I am using a DialogFragment, which I am showing like this from an Activity: DialogFragmentImage dialog = DialogFragmentImage.newInstance(createBitmap()); dialog.…

android android-dialogfragment
How to set the title of DialogFragment?

This should be a simple task, but for some reason I can find a way to set the title of …

android android-fragments android-dialogfragment
Adding positive / negative Button to DialogFragment's Dialog

I've already written a DialogFragment. Now I've realized that I want it to have a positive and a negative button …

android android-dialog android-dialogfragment
Can't make the custom DialogFragment transparent over the Fragment

I need to create a dialog over a fragment (that takes up the whole screen). The dialog needs to be …

android android-layout android-fragments android-dialog android-dialogfragment
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState with DialogFragment

I am facing issue with DialogFragment / getSupportFragmentManager / Android version 4.x 01-10 19:46:48.228: E/AndroidRuntime(9879): java.lang.IllegalStateException: Can not perform this …

android illegalstateexception android-dialogfragment android-support-library
android: how do I check if dialogfragment is showing

I launch my dialog fragment using FragmentTransaction ft = getFragmentManager().beginTransaction(); MyDialogFragment dialog = new MyDialogFragment() dialog.show(ft, "dialog"); then to …

android android-layout android-fragments android-dialogfragment