android - Background image dimension for Navigation Drawer header -


basically liked background used mr. jonathan lee navigation drawer header ground in google official link http://www.google.com/design/spec/patterns/navigation-drawer.html#navigation-drawer-content

so wanted reproduce similar inspired that. believe need make similar design in photoshop , set background image. question is, should dimensions , pixels matches different kind of devices?

the above link has guidelines icons , margins, haven't seen dimensions mentioned background.

does have idea or link can help?

width is:

mobile:

width = screen width − 56 dp

maximum width: 320dp

maximum width applies when using side nav on left. when using panel on right, panel can cover full width of screen.

http://www.google.com/design/spec/layout/structure.html#structure-side-nav

height determined aspect ratio of image want:

http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-ratio-keylines

probably 16:9


Comments