First of all, Thanks for giving Negative Votes in the first place. (i expect at least 10 negative votes to be honest by the honorable so-called "experts"(excluding those who believe even a simplest and smallest problem can cause a huge difference)).
So coming to my Question.
It's a very casual question that I am implementing a navigation drawer with a header image of 576x324(ratio as 16:9).
According to the Guidelines, the total width(in dp) of the drawer should be
for a device like 720x1280px screen and xhdpi
width in dp = (720x160)/320 - 56(toolbar size)=> 304dp
height in dp = 304 * (9/16) = 171dp
but the device like google nexus 4, 768x1280px with the same xhdpi
width in dp = (768x160)/320 - 56(toolbar size)=> 328dp
height in dp = 304 * (9/16) = 184dp
So, for the same xhdpi, I am getting two different widths and heights.
How can I manage this simple bug in android to make a common size in dimens.xml file?