Reputation: 982
in the dev guidelines they say the gap to the right displayborder shall be 56dp if the nav drawer is opened. How can I do that? Because in the xml "match_parent - 56dp" doesnt work. :D Guidelines Thx for help!
Upvotes: 0
Views: 49
Reputation: 433
I think it's 56dp by default for most Drawer widgets like android.support.v4.widget.DrawerLayout
The equivalent for "match_parent - 56dp" would be layout_width="match_parent" and layout_marginRight="56dp" for your xml view or layout inside your bigger layout.
Upvotes: 1