I try to make XML layout from PSD file. Right now PSD file have dimensions 320x1440. I have read on android.developers that mdpi (160dpi) have resolution 320x480. So I is assumed that in that case 1px in my PSD file is equal to 1dp. Thats the theory.
But I spotted little differences - especially in font sizes. For example I in the project some font have 24px size I need to divide it by 2 (like 320dpi but PSD file is 320px). Also if I have element which is 300px height in my PSD file it is not 300dp in android studio.
I have tried to google answer but had no luck. Any help is much appreciated.