Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
KaneOfMars
Old
#1  
KaneOfMars's Avatar
Senior Member - OP
Thanks Meter 101
Posts: 570
Join Date: Jul 2011
Location: Charleston, SC

 
DONATE TO ME
Default Need Help with Editing XMLs

I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
 
spc_hicks09
Old
#2  
spc_hicks09's Avatar
Senior Member
Thanks Meter 1240
Posts: 3,004
Join Date: Jan 2011
Location: Hawaii

 
DONATE TO ME
Quote:
Originally Posted by KaneOfMars View Post
I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)

Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.

What XML files are you trying to edit?
The Following User Says Thank You to spc_hicks09 For This Useful Post: [ Click to Expand ]
 
mtmichaelson
Old
#3  
mtmichaelson's Avatar
Senior Member
Thanks Meter 1113
Posts: 1,149
Join Date: Apr 2009
Location: Cane Ridge, TN

 
DONATE TO ME
Quote:
Originally Posted by spc_hicks09 View Post
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)

Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.

What XML files are you trying to edit?
What he said.

I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
The Following User Says Thank You to mtmichaelson For This Useful Post: [ Click to Expand ]
 
spc_hicks09
Old
#4  
spc_hicks09's Avatar
Senior Member
Thanks Meter 1240
Posts: 3,004
Join Date: Jan 2011
Location: Hawaii

 
DONATE TO ME
Quote:
Originally Posted by mtmichaelson View Post
What he said.

I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
I only know that because YOU told me lol!
 
KaneOfMars
Old
(Last edited by KaneOfMars; 25th October 2011 at 05:46 PM.)
#5  
KaneOfMars's Avatar
Senior Member - OP
Thanks Meter 101
Posts: 570
Join Date: Jul 2011
Location: Charleston, SC

 
DONATE TO ME
ah, I see now ... I extracted instead of decompiling. I'll give that a try.

I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.

Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
 
mtmichaelson
Old
#6  
mtmichaelson's Avatar
Senior Member
Thanks Meter 1113
Posts: 1,149
Join Date: Apr 2009
Location: Cane Ridge, TN

 
DONATE TO ME
Quote:
Originally Posted by KaneOfMars View Post
ah, I see now ... I extracted instead of decompiling. I'll give that a try.

I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.

Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.

Sent from my VS910 4G using xda premium
The Following User Says Thank You to mtmichaelson For This Useful Post: [ Click to Expand ]
 
mtmichaelson
Old
#7  
mtmichaelson's Avatar
Senior Member
Thanks Meter 1113
Posts: 1,149
Join Date: Apr 2009
Location: Cane Ridge, TN

 
DONATE TO ME
Quote:
Originally Posted by spc_hicks09 View Post
I only know that because YOU told me lol!
Lol, that's what I'm here for!

Sent from my VS910 4G using xda premium
 
KaneOfMars
Old
#8  
KaneOfMars's Avatar
Senior Member - OP
Thanks Meter 101
Posts: 570
Join Date: Jul 2011
Location: Charleston, SC

 
DONATE TO ME
Quote:
Originally Posted by mtmichaelson View Post
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.

Sent from my VS910 4G using xda premium
sweet, I'll try that first ... can't make heads or tales out of these xml files :P
 
mtmichaelson
Old
#9  
mtmichaelson's Avatar
Senior Member
Thanks Meter 1113
Posts: 1,149
Join Date: Apr 2009
Location: Cane Ridge, TN

 
DONATE TO ME
Quote:
Originally Posted by KaneOfMars View Post
sweet, I'll try that first ... can't make heads or tales out of these xml files :P
Lol, they can be a bit daunting!

Sent from my VS910 4G using xda premium
 
drt054
Old
#10  
drt054's Avatar
Senior Member
Thanks Meter 136
Posts: 687
Join Date: Jan 2011
Location: Cleveland, OH
Quote:
Originally Posted by spc_hicks09 View Post
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)

Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.

What XML files are you trying to edit?
Thanks.. I have been looking for this answer also

sent from my LG Revolt empowered by Fusion

 
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...