Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
adude247
Old
#1  
adude247's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,180
Join Date: Jun 2010
Default XML editing

I've been trying to change the background of some apps to transparent, everything that I've read makes it sound as if all I have to do is add one line to the manifest and bam it's done, but I can't get it to work, is it realy just as easy as editing one line or do I need to do more, any advice or links on how to would be appreciated...
 
artvandelay440
Old
#2  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
You shouldn't have to edit any xml files to change backgrounds. Simply use 7-zip to open the archive and navigate to your .png background file (usually in the /res/drawable_hdpi folder) edit it with your program of choice, (gimp, photoshop, etc) then put your modified png back in the original folder before pushing to your device.
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
 
adude247
Old
#3  
adude247's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,180
Join Date: Jun 2010
But if there is no background .PNG file then the XML would be the place to go correct

Sent from my SCH-I500 using XDA Premium App
If you like my work please click the thanks button...
 
artvandelay440
Old
(Last edited by artvandelay440; 1st August 2011 at 06:47 PM.)
#4  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
yes, if there is no png, then edit the xml value #ff0000 to #000000
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
 
adude247
Old
#5  
adude247's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,180
Join Date: Jun 2010
just in the res/styles xml, I've tried that and when I try to recompile I get an error message, I'm using apk manager 4.9...
 
artvandelay440
Old
#6  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
did you sign it first?
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
 
adude247
Old
#7  
adude247's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,180
Join Date: Jun 2010
what I do is decompile, edit the xml file, recompile and then sign, but I can't recomplie...
 
artvandelay440
Old
(Last edited by artvandelay440; 1st August 2011 at 06:50 PM.)
#8  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
lol, misread that last one, sorry. Which error are you getting?

Would you be able to troubleshoot this in IRC?
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
 
adude247
Old
#9  
adude247's Avatar
Senior Member - OP
Thanks Meter 609
Posts: 1,180
Join Date: Jun 2010
What I mean is that Im trying to the add the transpancy line because there isn't a color for the background, I'm wanting to make the app transparent, and the error in the log says unknown or can't be found

Sent from my SCH-I500 using XDA Premium App
If you like my work please click the thanks button...
 
artvandelay440
Old
#10  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by adude247 View Post
What I mean is that Im trying to the add the transpancy line because there isn't a color for the background, I'm wanting to make the app transparent, and the error in the log says unknown or can't be found

Sent from my SCH-I500 using XDA Premium App
That means your apk has dependencies that it can't find when recompiling. If you know which dependency it is, you can choose option 10 when decompiling and follow the prompts. If the original compiler didn't recompile the resources.arsc file as well, i believe you're hosed, since you can't find the dependency.
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods

 
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