I want to set an image as navigation drawer header image, but I don't know the correct sizes to fit all devices. What are the correct sizes in pixels?
Asked
Active
Viewed 1,932 times
2 Answers
4
From the answer given by Angad Singh to this question: Background image dimension for Navigation Drawer header, these are the dimensions:
- mdpi: 384 x 216 px
- hdpi: 576 x 324 px
- xhdpi: 768 x 432 px
- xxhdpi: 1152 x 648 px
- xxxhdpi: 1728 x 972 px
Note that all sizes follow a 16:9 ratio, as requested by material design guidelines. The xxxhdpi could be optional, as the image could be too large and it seems not even Google uses this size in some of their apps (I'm not using it on my app either).
0
You can find navigation drawer specs here: https://www.google.com/design/spec/patterns/navigation-drawer.html

e-shfiyut
- 3,538
- 2
- 30
- 31
-
its not mention there – Libin Thomas May 07 '18 at 10:14