Why xml, why?!?!?! - HTC EVO 3D

My PC seems to have a problem where every xml file is viewed this way. Im trying to edit the status_bar.xml to remove the clock but I cant. Any ideas?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Free Dirk!!!

knowledge561 said:
My PC seems to have a problem where every xml file is viewed this way. Im trying to edit the status_bar.xml to remove the clock but I cant. Any ideas?
Free Dirk!!!
Click to expand...
Click to collapse
Use Notepad ++, it works!

did you decompile whatever apk you are modding from apkmanager? or apktool... 7zip messes it up

I can only assume you are pulling the XML files from the APK. You need to decompile them instead of just pulling them.

dfskevinohyeah said:
did you decompile whatever apk you are modding from apkmanager? or apktool... 7zip messes it up
Click to expand...
Click to collapse
lmao thanks
Free Dirk!!!

scrosler said:
I can only assume you are pulling the XML files from the APK. You need to decompile them instead of just pulling them.
Click to expand...
Click to collapse
lmao thanks alot dude
Free Dirk!!!

Related

[Q] Notepad++ xml edit

I've been theming my own APKs for a while just doing png edits, now I'm trying to do xml edits with notepad++ (after decompiling the apk with apkmanager), and every time I open up the xml it looks like this. Why?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
that really doesn't look like it compiled correctly, i use a program called xml marker for my edits. if it was decompiled right none of those nulls would be there
thoughtlesskyle said:
that really doesn't look like it compiled correctly, i use a program called xml marker for my edits. if it was decompiled right none of those nulls would be there
Click to expand...
Click to collapse
Hm, how would I decompile it correctly? I've tried extracting the apk with 7zip and apkmanager and this is what I always get. Is there something else I need to do?
tjb3401 said:
Hm, how would I decompile it correctly? I've tried extracting the apk with 7zip and apkmanager and this is what I always get. Is there something else I need to do?
Click to expand...
Click to collapse
What apk is it, and are you using option 9 to decompile or are you just pulling the files out with 7zip
Sent from my PG86100 using XDA App

[Q] Guide to modding on screen buttons?

I want to change the color of the buttons, is there a guide on how to do this?
Just replace the images in SystemUI. Don't remember the exact ids, but you should be able to find them.
K900 said:
Just replace the images in SystemUI. Don't remember the exact ids, but you should be able to find them.
Click to expand...
Click to collapse
How do I unpack and repack the apk? Signing?
Skickat från min LT26i
Look up apk tool and apk manager. Pretry simple once you get the hang of it. There is tutorials all over xda on how to use them and modify files..
wpgchris said:
Look up apk tool and apk manager. Pretry simple once you get the hang of it. There is tutorials all over xda on how to use them and modify files..
Click to expand...
Click to collapse
Well that didn't go as I expected. I found the files and tried editing one but that's the part where I'm failing. How do I edit the .png properly? I tried with this result...:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] Modify Windows Style

Hi guys, how can i modify my rom's windows style?
i think in the framework-res.apk and in the systemUI.apk
u need apk manager and read some tutorials
http://www.xda-developers.com/andro...-framework-res-a-little-easier-for-beginners/
http://www.xda-developers.com/android/customize-systemui-apk-on-the-us-samsung-galaxy-s-iii/
I know how to modify APKs file, I only wanted to know where to find the windows style to modify... Ty for your answer!
mackief said:
I know how to modify APKs file, I only wanted to know where to find the windows style to modify... Ty for your answer!
Click to expand...
Click to collapse
Depending on what you are trying to do you will have to remake the .9.pngs as well as rewrite some of the xmls layout.
zelendel said:
Depending on what you are trying to do you will have to remake the .9.pngs as well as rewrite some of the xmls layout.
Click to expand...
Click to collapse
Simply from this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want to make it more similar to this:
Do you know where to find?
mackief said:
Simply from this:
I want to make it more similar to this:
Do you know where to find?
Click to expand...
Click to collapse
Yup. Those are the popup .9pngs in the framework-res.apk. You will have to make news ones that match what you want and then run them threw the draw9 tool and recompile the apk

[Q]Framework Popup Please Help

How to change framework-res popup on reboot menu to image (i themed popup and not working) please help me !
Thanks all users for help. (i used xNXT Framework)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
All the images are in framework, and there's a few.
XperienceD said:
All the images are in framework, and there's a few.
Click to expand...
Click to collapse
Images changed and not working still same
maybe only color no image ?
Upload your framework.
XperienceD said:
Upload your framework.
Click to expand...
Click to collapse
in attachment thank you
There's a few more I would change, menu, panel, toast frame, there's also some in the drawable-hdpi folder that could be being used, but it's trial and error at this point.
i remove drawable-mdpi ? or change image ? (what ?)
MicQo said:
i remove drawable-mdpi ? or change image ? (what ?)
Click to expand...
Click to collapse
Change the images.
XperienceD said:
Change the images.
Click to expand...
Click to collapse
what specifically?
The ones similar to what I've already mentioned.
Progress report?

Png

I'm trying to change the signal pngs and the wifi pngs in my rooted s4. ( the ones in the notification bar). but when I went into the system ui folder there were multiple signal pngs with different names. So my question is which ones are the right ones to change???
Here's mine for reference...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XperienceD said:
Here's mine for reference...
Click to expand...
Click to collapse
Thanks man appreciate it. What app did you use to change your pngs?
saul1991 said:
Thanks man appreciate it. What app did you use to change your pngs?
Click to expand...
Click to collapse
I modified the apk directly and replaced it with the original one on my Phone.
XperienceD said:
I modified the apk directly and replaced it with the original one on my Phone.
Click to expand...
Click to collapse
Thanks man i manage to figure it our but every PNG comes out small. Here's a screenshot
saul1991 said:
Thanks man i manage to figure it our but every PNG comes out small. Here's a screenshot
Click to expand...
Click to collapse
Make sure all the images are the same dimensions and that you change the right images in the right folder.

Categories

Resources