Great tips if you are using Photoshop as your tool of the trades for Android Design.

Likely in the next version of Android Design Kit (which I am trying hard to work on it) will be using points unit at the proper dpi.

Today's #AndroidDesign #Protip by +Roman Nurik and +Peter Ng is about using point units in Adobe Photoshop to improve your workflow for Android graphic asset creation.

Did you know that you can use point units in Adobe Photoshop to emulate density-independent pixels (dp) [1]? You can show all dimensions in density-independent units while still maintaing pixel precision during editing and exporting. Simply change Photoshop's ruler units to points, choose the right document resolution and from then on, think of points in Photoshop as Android's density-independent pixels!

So which document resolution should you use? Well in Photoshop, the default document resolution is 72ppi, where 1 point equals 1 pixel. This is analogous to Android's MDPI density, where 1dp equals 1 pixel.

To work in XHDPI (320dpi) and have 1 point equal 2 pixels, change the document resolution to 144ppi. In general to emulate an Android density of NNNdpi use a document resolution that's 45% of NNN. To emulate HDPI (240dpi), use a resolution of 108. For XXHDPI (480dpi), use a resolution of 216.

That's it—welcome to density independence nirvana with Photoshop! The attached photo album demonstrates some of the exact steps involved in case you're not sure where to look in Photoshop's settings.

Comentários

Postagens mais visitadas deste blog

Rails CanCan

Meus insights mais valiosos sobre criptomoedas para 2018 e além

Como pegar a senha do Whatsapp de um Android ou Iphone