An Android Fragment that displays a dialog window, floating on top of its activity's window.
Questions tagged [dialogfragment]
472 questions
-1
votes
1 answer
Android error dialogfragment with toast dialoginterface
have this code i only need show one toast if click accept or cancel,but cant understant why is wrong
how can fix? error is on toast getapplicationcontext()
im learn about dialogs and toast on android
import android.app.AlertDialog;
import…
user2447290
-1
votes
1 answer
need help to create custom keypad INSIDE a dialogFragment. do not want system keyboard to pop out
i have created an XML and dialog fragment consist of Edittext and numeric buttons (keypad). i had searched alot but only found creating custom softkey solutions. my objective is very simple. i already had all the buttons created in XML. what should…

Eric Ong
- 110
- 1
- 1
- 11
-1
votes
1 answer
ANR while trying to load Activity after FragmentDialogDismiss
I have an activity that sends a BC and waits 5 seconds for the response using AlarmManager.
Once i get the broadcast i:
1. remove the FragmentDialog using mDialog.dismiss();
2. start a new activity using getActivity().startActivity(myIntent);
I'm…

codeScriber
- 4,582
- 7
- 38
- 62
-2
votes
2 answers
Turn off click activity behind DialogFragment?
I can't cancel the click event of the buttons in the background when I open a dialog fragment. I'm trying to call the dialog fragment via a button in another fragment.
public class DialogPaymentSuccessFragment extends DialogFragment {
private View…

Büşra Afşar
- 55
- 8
-2
votes
2 answers
Android DialogFragment newInstance optional parameters
I've been following the official android developer docu and this one for the use of DialogFragment inside my project. so far so good, since I have to pass data to the DialogFragment for it to create a multichoice list, I call the DialogFragment from…

b101
- 379
- 5
- 15
-2
votes
2 answers
Android Fullscreen Fragment Dialog Background Clickable
I have fullscreen fragment dialog. While it is showing, background objects can be clickable or interact with user. how do i avoid this?
Here is piece of code how i show dialog:
MainActivity.java
FullScreenFrDialog fr = new…

ssmm
- 171
- 1
- 1
- 10
-2
votes
2 answers
How to get data from SimpleDialogFragment to a Fragment?
I have a main class:
public class MainFragment extends Fragment implements OnClickListener, OnMarkerClickListener {}
I have a dialog class:
public class PedirTaxiDialog extends SimpleDialogFragment implements
OnClickListener{}
For example: I…

user2725921
- 33
- 5