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
android android-alertdialog navigation-drawer


source to share


No one has answered this question yet

Check out similar questions:

391
How to use DrawerLayout to display on ActionBar / Toolbar and Status bar?
378
Navigation box (Google+ and YouTube)
4
How can I make the navigation drawer not completely close the left drawer?
2
Android Navigator Drawer ExpandableListView
1
Sliding drawer not opening from cutom menu button
1
Android - Nested DrawerLayout? Or is there an alternative way to implement the navigation drawer?
0
Sidebar inside the navigation drawer
0
Designing a Modular Navigation Drawer in Android Studio
0
Activity with DrawerLayout not added to back stack
0
Right side navigation box under interactivity



All Articles
Loading...
X
Show
Funny
Dev
Pics