Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Celeras
Old
#1  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Oct 2009
Default Wallpaper resolution determined by number of screens? Formula?

Search came up blank, sorry if this is mentioned elsewhere.

Alright so the screen resolution for this device is 320x480, and the default android home features 3 screens. Wallpapers are stretched across all 3 screens..so you would think 3x the width with the same height. However, most information I find says that the correct wallpaper size would be 640x480.. which would only be 2x the size.

It's easy enough to just say double the width, but that only works for 3 screens(?). I'm interested in the formula here so I can determine the correct wallpaper size for 5 or 7 screens.

Is it the obvious +1/2 width for each additional screen? For instance:

320x480 resolution, 3 screens. 320+(320/2)+(320/2)= 640, 640x480
320x480 resolution, 5 screens. 320+(320/2)+(320/2)+(320/2)+(320/2)= 960, 960x480
400x854 resolution, 3 screens. 400+(400/2)+(400/2) = 800, 800x854

Am I on the money with this?
knowfear Old
#2  
Guest
Thanks Meter
Posts: n/a
I dont think it actually adds anything to the size with more screens. I think it just divides it differently. I have used the same wallpaper with 3/4/5 screens and the pic is always the same.
 
prash
Old
#3  
prash's Avatar
Senior Member
Thanks Meter 15
Posts: 565
Join Date: Feb 2009
Location: Philadelphia

 
DONATE TO ME
You have to remember the wallpaper doesn't get stretch rather the space on top of the displayed area gets divided depending on how many home screens you have. In all the final wallpaper is still 640x480 but it overlaps in 3, 5, 7 etc places.

Just think of each of the 'screens' overlapping to understand how the homescreen works.
Professional Graphic/Web Designer/Front-end Developer
TeamDouche

My Themes: Chroma, Mau5, AlienAqua, SystemForce3, and more.
If you like my contributions..Donate?
 
Celeras
Old
#4  
Member - OP
Thanks Meter 4
Posts: 35
Join Date: Oct 2009
So then the proper wallpaper size for any Android device is 2x width x height? Or is it device specific.
 
nmesisca
Old
#5  
nmesisca's Avatar
Recognized Developer
Thanks Meter 61
Posts: 529
Join Date: Nov 2007
Location: Dublin

 
DONATE TO ME
Quote:
Originally Posted by Celeras View Post
So then the proper wallpaper size for any Android device is 2x width x height? Or is it device specific.
i think now with the Tattoo being available it depends on the device.
--------------------------------------
Samsung Galaxy Nexus
ROM : Modaco
Kernel : FranciscoFranco UV
Recovery : CWM 5.5.0.2
Twitter
 
jayzusfk
Old
#6  
jayzusfk's Avatar
Senior Member
Thanks Meter 2
Posts: 158
Join Date: Aug 2009
Location: pdx
i think i would go with 'device-specific'. i'm curious what resolution builds like the pulse version uses.

it's rather apparent that the current 320x480 devices just use a shorter pan across a 640x480 image when the number of homescreens goes up. i suppose we could all just use larger wallpaper images, since android will crop oversized images to the appropriate resolution depending on what device it's on.
 
Afirejar
Old
#7  
Member
Thanks Meter 0
Posts: 89
Join Date: Aug 2009
Quote:
Originally Posted by jayzusfk View Post
i think i would go with 'device-specific'. i'm curious what resolution builds like the pulse version uses.

it's rather apparent that the current 320x480 devices just use a shorter pan across a 640x480 image when the number of homescreens goes up. i suppose we could all just use larger wallpaper images, since android will crop oversized images to the appropriate resolution depending on what device it's on.
I read the Pulse uses a 2:3 ratio, it uses two rows of three screens after all. I read something like 512x768 works well.
Cyanogen 5.0.7 - AmonRa Recovery 1.6.2 - DangerSPL - G1
 
tehseano
Old
#8  
tehseano's Avatar
Senior Member
Thanks Meter 14
Posts: 813
Join Date: Jan 2009
Location: Detroit

 
DONATE TO ME
As Prash said.

For the G1, wallpaper is 640x480. If you had 50 screens, it'd still be 640x480.

However, different devices have different screen resolutions.

Phone
LG Nexus 4 - CURRENT
Samsung GSM Galaxy Nexus - RETIRED
Samsung Galaxy S II - RETIRED
HTC Thunderbolt - RETIRED
HTC G2 - RETIRED
HTC G1 - RETIRED


Tablet
Asus Nexus 7 - CURRENT
Samsung Galaxy Tab 7 - RETIRED
 
bwinger79
Old
(Last edited by bwinger79; 11th December 2009 at 10:33 PM.) Reason: I am an idiot
#9  
bwinger79's Avatar
Member
Thanks Meter 17
Posts: 83
Join Date: Sep 2009
Location: Denver
Default Not even worth reading

Quote:
Originally Posted by Celeras View Post
Search came up blank, sorry if this is mentioned elsewhere.

Alright so the screen resolution for this device is 320x480, and the default android home features 3 screens. Wallpapers are stretched across all 3 screens..so you would think 3x the width with the same height. However, most information I find says that the correct wallpaper size would be 640x480.. which would only be 2x the size.

It's easy enough to just say double the width, but that only works for 3 screens(?). I'm interested in the formula here so I can determine the correct wallpaper size for 5 or 7 screens.

Is it the obvious +1/2 width for each additional screen? For instance:

320x480 resolution, 3 screens. 320+(320/2)+(320/2)= 640, 640x480
320x480 resolution, 5 screens. 320+(320/2)+(320/2)+(320/2)+(320/2)= 960, 960x480
400x854 resolution, 3 screens. 400+(400/2)+(400/2) = 800, 800x854

Am I on the money with this?
Just take the original width and multiply it by the number of screens you have. No need to do this /2 crap. Makes no sense....regardless of what you read. Now...if you wanted to have say 5 screens with less wallpaper scrolling when you transition from screen to screen...then you could implement your division tables as stated in your original post. It really functions no different than a desktop with multiple monitors....other than the fact that you have one screen and wallpaper scrolling on the Android device.

EDIT:....I guess I have been working too many hours....totally forgot about the fact that you have to crop images when setting your wallpaper. That being said....stick with 640X480. I am gonna go punch myself in the face now.
 
H@OBouget
Old
#10  
H@OBouget's Avatar
Member
Thanks Meter 0
Posts: 82
Join Date: Jun 2009
Size of the background does not matter. The ssytems will scale it when you choose the wallpaper. Or you can manually select what you see in the gallery.

If you need the background to look a specific way then yes the size matters.
Since the system will stretch or shrink as needed.
Proportion is more important. 640x480, 1280x960, 800x600 They will all scale to the same appearance.


As for screens:
What changes is the amount of the background that shifts.
On 3 screens the left screen see 0-50 of the picture, the right sees 50-100 the center screen sees 25-75.

On 9 screens: These numbers are off because it actually takes like 6.22 or something but this is close.
screen 1 = 0-50
screen 2 = 6-56
screen 3 = 12-62
screen 4 = 18-68
screen 5 = 24-74
screen 6 = 30-80
screen 7 = 36-86
screen 9 = 42-92
screen 9 = 50-100
Blk G1 on Tmo - Danger SPL - Amon_RA's 1.5.2 - CM 4.2.8.1 - 10MB boot hack - Compcache - Apps2sd - Zipaligned - 75+ apps
16GB C6 SD, 13gb FAT32, 1.4gb Ext4, 128mb Linux swap

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more