Background image dimension for Navigation Drawer header

 ̄綄美尐妖づ 提交于 2019-12-02 23:22:35

Width is:

Mobile:

Width = Screen width − 56 dp

Maximum width: 320dp

Maximum width applies only when using a side nav on the left. When using a panel on the right, the panel can cover the full width of the screen.

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

Height is determined by the aspect ratio of the image you want:

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

Probably 16:9

Unzipped an APK and this is what I have found out-

mdpi-
    width=384 pixels
    height=216 pixels
hdpi-
    width=576 pixels
    height=324 pixels
xhdpi-
    width=768 pixels
    height=432 pixels
xxhdpi-
    width=1152 pixels
    height=648 pixels

Image source= Google's Newsstand Application, Tool=Adobe photoshop 7.0

I would recommend using adobe illustrator as it works great with ui design. Most mobile devices/tablets have a width ranging from 320px - up to 1080px and still increasing as new phones/tablets are released. Scalable vector graphics works great with prototyping ui layouts.

check out: http://www.uxbooth.com/articles/considerations-for-mobile-design-part-2-dimensions/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!