[android-developers] Re: Creating custom icons with Photoshop - dip

2012-08-06 Thread RichardC
Ignore the dpi setting in photoshop (and other graphics packages) just 
ensure that you create your images with the correct width and height (in 
pixels). So for example when creating launcher icons use:

xhdpi 96x96 pixels

hdpi  72x72 pixels

mdpi  48x48 pixels

ldpi  36x36 pixels 




On Monday, August 6, 2012 2:41:59 PM UTC+1, Simon Giddings wrote:

 This subject is causing me some conceptual problems.

 In the official documentation, it states that 1dip represents 1 pixel in a 
 160dpi screen.
 Does this mean that we should be creating graphic elements at a resolution 
 of 160 dpi instead of 72 dpi ?

 I hope someone will be able to give an authoritative answer to this 
 question.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Creating custom icons with Photoshop - dip

2012-08-06 Thread bob


Exactly.  I don't think the JPEG or PNG format has any provisions for 
storing dpi information.


So, such images can't have the wrong dpi.



On Monday, August 6, 2012 8:54:22 AM UTC-5, RichardC wrote:

 Ignore the dpi setting in photoshop (and other graphics packages) just 
 ensure that you create your images with the correct width and height (in 
 pixels). So for example when creating launcher icons use:

 xhdpi 96x96 pixels

 hdpi  72x72 pixels

 mdpi  48x48 pixels

 ldpi  36x36 pixels 




 On Monday, August 6, 2012 2:41:59 PM UTC+1, Simon Giddings wrote:

 This subject is causing me some conceptual problems.

 In the official documentation, it states that 1dip represents 1 pixel in 
 a 160dpi screen.
 Does this mean that we should be creating graphic elements at a 
 resolution of 160 dpi instead of 72 dpi ?

 I hope someone will be able to give an authoritative answer to this 
 question.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en