How do I create custom Android device screens?« Back to Questions List

Hi,

I am designing app for Moto G4 Plus. I tried all the possible things in the links. Everything is fine but sizes increases and doesn't fit the screen.

Dimensions are 1080x1920px (Dpi 401). Do i need to convert this pixal into dp ?

Please help with answers.

Thank you

Added October 5, 2017 1:07 pm

Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!

Hi,

Take a look at our post regarding Android and multiple screens. Pixel to DPI conversion is not the easiest, and gets far more complex when going from hdpi to xxhdpi etc.

To answer your question correctly we need to know the full resolution you are targeting. Based on your question, 1080px sounds more like 1080xxhdpi (correct us if we are wrong). You can target this with a target screen size of 360px:

${css|screen:360} p-720 xhdpi / 1080 xxhdpi
Answer by admin
Answered On October 5, 2017 1:14 pm #
Looking for another answer? View other questions in Screen or get premium support for guaranteed results.
Asked by Prajwal007★★★
1338 views
1 answer
Last Answered 7 years ago by admin

Categories

Recent Answers

asked by Adith
asked by Sander
asked by bps9191980
asked by admin
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.