Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
AlecDelorean
Old
(Last edited by AlecDelorean; 3rd January 2009 at 02:46 PM.) Reason: final note
#1  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Dec 2008
Cool Background4AllTabs, Photoshop & Pixelcounting

hi,

i wanted to create my own background-theme, and this thread was very helpful:

http://forum.xda-developers.com/show...9&postcount=54

(you need the Background4AllTabs "5c9aa261_manila" & "4a087e41_manila" from NisseDILLIGAF)

the problem was, i had a circle in the picture, and every time it was stretched or squashed, wrong aspect ratio, not fitting well. so i did a little research myself - pixelcounting fun.

conclusion:

1. crop your original-pic (maybe 800x480) to 700x480 (the real background size, 50 px from the top and 50 px from bottom)
2. create an new empty 512x512 file
3. resize your 700x480-pic to 512x460, squash squash squash (!)
4. paste it in the empty 512x512 on the left side(!) leaving an empty unused bar of 52px on the right side
5. do all steps from the link above to convert it for manila

nothing stretched or squashed anymore. full circles.

FINAL note:

this method works only for NisseDILLIGAF's *5c9aa261_manila* that came from the diamond. it works, but it also has the blackhole problem.

bbonzz's method (look below) works for http://forum.xda-developers.com/show...0&postcount=60 (blackhole solution).

both have no problems with nocurtains-mod. baah, too much confusion about the manila files... :)
 
bbonzz
Old
(Last edited by bbonzz; 2nd January 2009 at 01:15 AM.)
#2  
Recognized Developer
Thanks Meter 13
Posts: 791
Join Date: Nov 2008

 
DONATE TO ME
Actually the background is 480x636 (image 1), because of the top curtain hole in background4alltabs.

So, to keep the aspect ratio, what you have to do is more simple:

1) cut you 480x800 (image 2) to 480x636 (image 3) keeping 52 px from bottom (bottom bar) and 112 from top (top bar+top curtain)
2) stretch to 460x512 (image 4)
3) add a 52px transparent (or whatever: black, white... It will be invisible anyway) canvas to the right (image 5)

voilà, you have a pic for Manila Editor, and once installed on Blackstone, Manila will resize it back to the original 480x636, without distortion and without shifting a single pixel. You can verify this by using the original 480x800 as background for the home tab (image 1): switching tabs, you'll notice the image is still the same: no movements, no distortions.
Attached Thumbnails
Click image for larger version

Name:	a001.jpg
Views:	379
Size:	65.2 KB
ID:	142069   Click image for larger version

Name:	a002.jpg
Views:	193
Size:	78.9 KB
ID:	142070   Click image for larger version

Name:	a003.jpg
Views:	98
Size:	53.2 KB
ID:	142071   Click image for larger version

Name:	a004.jpg
Views:	78
Size:	58.9 KB
ID:	142072   Click image for larger version

Name:	a005.jpg
Views:	153
Size:	72.0 KB
ID:	142073  

 
shadowmike
Old
#3  
Senior Member
Thanks Meter 62
Posts: 1,062
Join Date: Feb 2008
Location: Cleveland
do you guys have a problem with a black hole at the top of the background in sound settings on the settings tab ?

Current 2013
VM HTC One V (Stock Rooted)
T-MO MT SLIDE (Stock - Soon to be rooted)
KINDLE FIRE HD (Stock Rooted)

Old 2012-Past
SPRINT EVO 3D (Broken Screen)
T-MO MT4G (Broken Screen)
T-MO MT SLIDE (Water Damage)
T-MO G1 (Dogs Chew Toy, They Thought)
T-MO MT3G (Dogs Chew Toy, They Thought)
SE XPERIA 1 (Won't Boot)
T-MO SHADOW (Screen Died)
 
AlecDelorean
Old
(Last edited by AlecDelorean; 3rd January 2009 at 10:21 AM.)
#4  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Dec 2008
Arrow check this!

hi bbonzz,

i tried your version and it does not match. check the attachment.
manila stretched the logo and it ended up as an egg.

the best way is to compare the original (800x480) as homescreen-background against the manila version background in the other tabs. that was the game i was playing. after several try&errors i found it. the mapping-coordinates for the manila-background in my tf3d background4alltabs is 700x480. 50px less reserved for the top-taskbar and 50px less reserved for the softbutton-bar at the bottom.

manila stretches the left space of the 512x512 texture (512x460) to 700x480 perfectly and the aspect ratio of the original is back.

by the way, the black hole is still a problem, but doesn't bother me.
Attached Thumbnails
Click image for larger version

Name:	Background.jpg
Views:	102
Size:	54.3 KB
ID:	142163  
Attached Files
File Type: zip check.zip - [Click for QR Code] (117.1 KB, 34 views)
 
bbonzz
Old
#5  
Recognized Developer
Thanks Meter 13
Posts: 791
Join Date: Nov 2008

 
DONATE TO ME
maybe it depends on which 5b9aa261 are you using: on my HD (with the "corrected and not the original 5b9aa261), using the same try&error way, i have the perfect fit with the 480x636 thing, as you see in the screenshot. Later i'll try with your attachment
 
AlecDelorean
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Dec 2008
Default :confused:

ok, i forgot to mention that "nocurtains" is installed on my hd. maybe thats the reason why you got 636 px instead of 700 px.
 
p_elmenzo
Old
#7  
Member
Thanks Meter 0
Posts: 32
Join Date: Dec 2008
Default 4a087e41_manila

Hi sir AlecDelorean and other member can you make me a 4a087e41_manila with my attach file, thanks advanced...
Attached Thumbnails
Click image for larger version

Name:	sparks_bluegreen.jpg
Views:	55
Size:	56.4 KB
ID:	142293  
 
AlecDelorean
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Dec 2008
Default please test this

hi p_elmenzo,


do yo have the 2 files from background4alltabs already installed?

if yes, here you go. don't forget to backup you original manila files.

don't blame me if something goes wrong


and please compare your original pic as background for the homescreen against the new background in the other tabs. if anything moves, or looking stretched, send me a screenshot.
Attached Thumbnails
Click image for larger version

Name:	sparks_bluegreen.jpg
Views:	31
Size:	56.4 KB
ID:	142303   Click image for larger version

Name:	sparks_bluegreen512.jpg
Views:	38
Size:	47.5 KB
ID:	142304  
Attached Files
File Type: zip 4a087e41.zip - [Click for QR Code] (44.4 KB, 56 views)
 
p_elmenzo
Old
#9  
Member
Thanks Meter 0
Posts: 32
Join Date: Dec 2008
Default 4a087e41_manila

Thank you very much AlecDelorean...
Grazie Mille AlecDelorean...
 
p_elmenzo
Old
#10  
Member
Thanks Meter 0
Posts: 32
Join Date: Dec 2008
Default 4a087e41_manila

Hi, again AlecDelorean i have a small problem when i change my tab the background image has change maybe the pixel of the image.
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	179
Size:	60.5 KB
ID:	142333   Click image for larger version

Name:	Capture001.jpg
Views:	266
Size:	57.5 KB
ID:	142334  

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

Advanced Search
Display Modes

report this ad
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

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more