大约有 1,593 项符合查询结果(耗时:0.0124秒) [XML]
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 a floating dialog that will be positioned over the fragment with the fragment darkened out outside of the fragment..
...
How to completely remove a dialog on close
... operation fails, I create a new div with the errors and then show it as a dialog. When the dialog is closed I would like to completely destroy and remove the div again. How can I do this? My code looks something like this at the moment:
...
How can I add a third button to an Android Alert Dialog?
The API says that the Alert Dialog can have one, two or three buttons, but the SDK only allows for a positive and negative button. How then can I add a third button?
...
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 very small. How I can make this width to fill_parent to it ?
...
How to correctly dismiss a DialogFragment?
The docs say this for the dismiss() method from the Dialog class:
11 Answers
11
...
How can I get a Dialog style activity window to fill the screen?
I am using an activity with the dialog theme set, and I want it to be full screen. I tried all sorts of things, even going through the WindowManager to expand the window to full width and height manually, but nothing works.
...
How to make an alert dialog fill 90% of screen size?
I can create and display a custom alert dialog just fine but even so I have android:layout_width/height="fill_parent" in the dialog xml it is only as big as the contents.
...
Good examples of MVVM Template
...here any decent MVVM examples that at least show basic CRUD operations and dialog/content switching?
9 Answers
...
jQuery UI Dialog with ASP.NET button postback
I have a jQuery UI Dialog working great on my ASP.NET page:
17 Answers
17
...
Android 'Unable to add window — token null is not for an application' exception
I get the following Android exception when I try to open a dialog. Can someone please help me understand what is going on and how can I fix this problem?
...
