Reputation: 21
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?
Upvotes: 1
Views: 2204
Reputation: 2931
From the answer given by Angad Singh to this question: Background image dimension for Navigation Drawer header, these are the dimensions:
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).
Upvotes: 4
Reputation: 3675
You can find navigation drawer specs here: https://www.google.com/design/spec/patterns/navigation-drawer.html
Upvotes: 0