Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 167

imjava
I hate code!
Profile
Posts: 6
Reg: Aug 28, 2012
medan
260
09/11/12 03:45 AM (13 years ago)

image size for 'screen background image'

hello, what's the default image size (height/width) for the 'screen background image' thanks
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
09/11/12 04:16 AM (13 years ago)
If you want to take up the whole screen.... on iOS it's normally 320 x 480 pixels, or double for retina displays. http://www.iphoneresolution.com Remember if you have a tab bar or the regular mobile bar across the top (carrier, time, etc) this will use pixels as well. On Android it could be anything but I generally use these three sizes in the emulator when testing. 320 by 480px for small devices, 480 by 800px for medium/high and 720 by 1280 for high/extra high resolution screens. I'd be interested in what others use? BTW Android is extra tricky because of the use of dpi (density-independent pixels) http://developer.android.com/guide/practices/screens_support.html
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/11/12 05:05 AM (13 years ago)
I use 320x480 for iphone and 768x1024 for ipad. Cheers. Miguel
 
imjava
I hate code!
Profile
Posts: 6
Reg: Aug 28, 2012
medan
260
like
09/11/12 08:01 AM (13 years ago)
thanks ictguy, MadRod.. MadRod, is it mean you create 2 same apps with different screens?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/11/12 08:09 AM (13 years ago)
I create one app and use one image for small devices (ipjone) and one image for large devices (iPad)
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
09/11/12 08:34 AM (13 years ago)
I use square images. 480x480 for iPhone and 1024x1024 for iPad. I also create @2x images of 960x960 and 2048x2048 for retina. By making the images square the same image works in landscape and portrait.
 
imjava
I hate code!
Profile
Posts: 6
Reg: Aug 28, 2012
medan
260
like
09/11/12 10:00 AM (13 years ago)
thanks MadRob for the idea.. :)
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/11/12 10:17 AM (13 years ago)
I too use images of two different sizes like @MadRod uses but i am now going to try what @MGoBlue suggested.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
09/11/12 11:15 AM (13 years ago)
With the square images, use the "center" option for the "Scale / Position"
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/11/12 11:28 AM (13 years ago)
thanks for the information.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.