Android DialogFragments. DialogFragment is a utility class which extends the Fragment class. It is a part of the v4 support library and is used to display an overlay modal window within an activity that floats on top of the rest of the content. Essentially a DialogFragment displays a Dialog but inside a Fragment. A common UI pattern is to darken the background behind the dialog to focus attention on the dialog. We get that for free with , assuming you open it via JavaScript. You control the look of it with the ::backdrop pseudo-element. Instead of the low-opacity black default, let’s do red with stripes: Cool bonus: you can use backdrop-filter For example, placing a DialogTrigger around a menu item would not work because the menu closes when pressing an item, thereby unmounting the DialogTrigger. When the trigger unmounts, so does the Dialog. In these cases, it is useful to place the dialog outside the tree that unmounts, so that the dialog is not also removed. Agreeing and disagreeing. Listen to some conversations between two people. Decide if they are agreeing or disagreeing. B1-B2. 5–10 minutes. Independent. .

where does the dialog take place