0

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!

XxGoliathusxX
  • 922
  • 13
  • 34

1 Answers1

1
  • 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.

Hichem Acher
  • 433
  • 2
  • 16