DrawerLayout over DialogFragment

I have my sidebar application using the DrawerLayout class. In general, I am happy with the design, but I need to show a dialog blocking the "normal" interface, but with a button in the dialog that opens a drawer (where I have a section with an input element). At this point I need to open a dialogue, but it is "covered" by a box.

I can bind the click and open the drawer, but visually it sits below the dialog.

Is there a way that I can put the Drawer "above" in the dialog?

what I have (orrible ascii-art)

+--------------+-------------------------------+
|drawer element|      rest of my activity      |
|line1         |          (in background)      |
|line2    +---------------------------+        |
|....     |dialog                     |        |
|         |                           |        |
|         +---------------------------+        |
|              |                               |
|              |                               |
+--------------+-------------------------------+

      

what i want (orrible ascii-art)

+--------------+-------------------------------+
|drawer element|      rest of my activity      |
|line1         |          (in background)      |
|line2         |----------------------+        |
|....          |g                     |        |
|              |                      |        |
|              |----------------------+        |
|              |                               |
|              |                               |
+--------------+-------------------------------+

      

+3


source to share





All Articles