1

I am designing a mobile app for the Android OS. I am currently using Adobe XD. What is the base screen size that I can use to start designing so that 1px is equal to 1dp or 1sp. Also what is the difference between px dp and sp?

1

1 Answer 1

0

Check this website for some generic device metrics. https://material.io/resources/devices/

When you are designing for apps, you're actually designing in dp but all programs call it px.

If you take the dp and times it by the density you will get the px for the screen.

An example of this is retina screen which has 2x pixel density, so it's fitting in 2 pixels per dp.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.