skip to Main Content

I used tools like gimp, markman and photoshop to measure the psd file given by ui. But they all measured in px, but what i wanted is dp. So i always need to divide 2 or something to make it right.

So do you got any tool to measure in dp?

Or any tool to divide the measure result with certain number?

2

Answers


  1. See What is the difference between "px", "dp", "dip" and "sp" on Android?

    You really can’t just ‘convert’, as 10dp will be different px even between Android devices.

    It’s like saying: I have 10 pounds of food, how many meals is that?

    You can’t answer because, babies eat less than adults.

    Login or Signup to reply.
  2. Select menu Image/Print size.

    In the bottom dropbox select pixels/pt
    In X resolution type the number you usually divide by. 3.5 on my Nexus 6P.
    On the status bar, change the dropbox from pixels (px) to points (pt)
    Select the Measure tool

    Now you can measure directly in dp’s

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search