[Help] Sense 4 ICS SystemUI.apk 9.pngs - Android Themes

Hi to experienced themers
can anybody help me, there is no compilation errors but
9 pngs become messed up.
How to fix thanks?
Also I'm trying to port an eqs to mdpi from hdpi, please help how to adjust size of header image
and notification Fonts icons size.
I already replaced all images to mdpi.
{
"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"
}
Thanks

Conventional 9.pngs stretch the image so you can't have a full pattern in them, the screwy bits are those being stretched. From reading this thread (last few pages)
http://forum.xda-developers.com/showthread.php?p=18790818
It seems sense uses repeater pngs you may find an answer or the help you need there.
Sent from my GT-I9100 using xda premium

Hi, I've been having these issues for a long time. The only way to fix this is to take the PNGs that are stretched from an unmodified apk, and then make changes to the apk. After that, open your modified (and signed) apk as a ZIP and replace the PNGs you took out. Right now, this is the only way to fix this, since apktool optimizes these PNGs every time you use it.
Also, sometimes the .9.pngs are renamed to r.9.png, and lead to FCs. If this happens, rename them to .9.png, and it should be fixed

Thanks, now I will try. My only problem now is resize header and notification font sizes.
EDIT I copied default deodexed stock drawable-mdpi files but still desame
EDIT 2: removed r9, will see. results, still desame
EDIT 3: copied stock r9, results still systemUI FC
EDIT 4: renamed stock r9 to 9pngs success.
shrome99 thanks for pointing the exact answers.
Now to resize header image the one with provider text and notification fonts size, anybody pls.

Related

[Q] Change notification colours

Does anyone know how I would change the colours of the text in black below? It is the only thing that I can't find. I think It might be in services.jar somewhere but changing that is out of my depth.
Any help is greatly appreciated.
{
"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"
}
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
I am interested in this as well. I have searched and searched code and Google for where that precise line is and coming up empty. The links provided althougb useful and already used do not address the question.
Sent from my SCH-I500 using XDA App
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
JAguirre1231 said:
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
Click to expand...
Click to collapse
Thank you very much! It works perfectly!
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
BumRush said:
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
Click to expand...
Click to collapse
I decompile them with apktool and then use any ol' text editor.
Great lesson, thanks
Ganii said:
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
Click to expand...
Click to collapse
You can change the color of the date in a .xml-file.
I'm building up a tutorial where to find to corresponding entries in the .xml-files (see my signature). Any hints to new places are welcome

[Q] How to modify apps and themes

First of all thank you for reading this.
I've flashed Darky's ROM v6.0, it was working great. Then flashed this theme, it was still great, moreover even better.
Then I had the idea, what if I make the transparent background of the dialer a little bit darker so I extracted the DialerTabActivity.apk from Darky's ROM, changed the corresponding PNG, saved the new apk with TotalCommander and replaced the original DialerTabActivity.apk in the phone with RootExplorer. It was all right, it was working fine after reboot as well.
Then I had a greater idea, at least it seemed to be a great idea at that time What if I replace the gradient status bar background with a plain black background... I've done everything the same way with the framework-res.apk, yet after restart basically everything force closed. Tried to reflash the theme but it didn't help.
I was wondering what have I done wrong.
1) Why did it work with the dialer the first time and what went wrong with the framework-res.apk?
2) What is the correct way to do these modifications?
Thank you for all your help.
The method was fine. Both modified apks work after ROM reinstall.
Mods attached below.
Dark Transparent theme mod: Full black status bar
Based on XXJPX Dark Transparent 1.7 +AOSP +9patched images +No menu-button unlock +Extended menu +Circle battery mod
Download
Install:
Make sure that no custom wallpaper is set from the Gallery, use a stock wallpaper instead for now. At least this caused me problems first.
Flash it with CWM recovery
Works great on Darky's JPX ROM v6.0
{
"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"
}
Dialer mod: 25% transparent black background
Download
Install:
Rooted device required.
Copy the corresponding file to clipboard with Root Explorer.
Go to the /system/app directory, click Mount R/W
Paste dialertabactivity.apk, overwrite the existing file and click Mount RO
Exit Root Explorer

(cm7) Theme help(png file fixed)

Does anyone know why the check is on top on the text and not next to it
{
"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"
}
Didn't give us much to work with.
bkmo said:
Didn't give us much to work with.
Click to expand...
Click to collapse
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
dfuse06 said:
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
Click to expand...
Click to collapse
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Dont Panic said:
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Click to expand...
Click to collapse
I am making the the theme and it is not done yet, I have made this theme for 3 or 4 captivate rom and this is the first time i am doing it for cm7
Fix it my self here was the issue if anyone wants to know the png was a rgb. So I made it to a Index file and it fix it
Please let me know when this theme is done for test or release. It looks very nice for me. I like it black & white and I'm searching for it since I've CM7 installed. I hope you'll done it for the theme chooser, hum?
Greets,
Benny.

[ICONS][MIUI] TouchIT HD ported for android

This a port of the iphone theme TouchIT HD for MIUI.
{
"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"
}
The original theme was created by Lord Kokkei, and the HD upgrade was made by enzom21, both @ macthemes.net. Several icons came later by macthemes users.
This is a extremely small icon package, just the icons I use. Inside the MTZ there are some other icons, but need to be renamed to match the app package. If you want to add more, you will need to edit the theme and manually add and rename the icons you need. Sorry but i cant help you with that since I dont have those apps.
The template for new icons can be found here, and a lot of icons that can match apps in android market:
http://macthemes.net/forum/viewtopic.php?id=16806094
If you guys add more icons, you can post it here already renamed and I could update the pack to get a more complete package.
DOWNLOAD HERE
Help me, i would like to add new icons for my other app, but in this link:
http://macthemes.net/forum/viewtopic.php?id=16806094
... i don' t found any icons
And if i open your theme with winrar, i found preview and icons, so... in what folder i need to add icon?
Thanks
remix96 said:
Help me, i would like to add new icons for my other app, but in this link:
http://macthemes.net/forum/viewtopic.php?id=16806094
... i don' t found any icons
And if i open your theme with winrar, i found preview and icons, so... in what folder i need to add icon?
Thanks
Click to expand...
Click to collapse
The file "icons" its really a zip without the extension... extract the contents, and rename the file to icons.zip, and then you can add more... just remember to remove the extension again inside the mtz.
For your custom icons you will need to make them, on that link at macthemes, there are some templates in PSD format you can edit and make your required icons.
Thanks so much! I was hoping someone did the hard work of porting this to miui.

Need help to Identify a png

Hello,
Something is bothering me when I'm watching a video :
when I hit the volume keys, this volume popup is coming in front of the video, and stays there for ages
{
"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 would like to edit the background and make it transparent. I'm pretty sure it's located in res\drawable-hdpi
but if someone knows which file it is, that would help me a lot
thanks !
Should be in framework-res.apk or SystemUI.apk.
Just view the folder and look for this png?
Maybe it's used by other dialogs too, so there could be more than one part. (top, middle, bottom)
And if you're not lucky, other dialogs are transparent too after this. ;o
I did open the "framework-res.apk"
I got a lot of files in it :laugh:
I did not find anything looking like it, only these ones maybe ... ?
is it a sigle png file or maybe these tiny squares put together ... I should test
On mine its dialog_full_holo_dark there are other dialogs that use it though...if you don't want to affect them you'd have to edit volume_adjust.xml to point to another image
If you can decompile your framework check that xml to confirm
Sent from my GT-I9100 using xda premium
ok thanks,
can I just extract the xml from framework-res.apk on my computer, edit it, and then add it again + adb push the new framework-res.apk ?
edit : looks like I need to read this http://forum.xda-developers.com/showthread.php?t=1427959
ok, in the XML volume_adjust.xml (once I decompiled the file), I found this :
android:background="@drawable/dialog_full_holo_dark"
yeah there is a bit involved in decompiling but its worth learning how to do it, especially with 9.pngs
Sent from my GT-I9100 using xda premium
I have errors when I try to recompile, so I'm gonna go with replacing the PNG file with a transparent one, and just replace the png withing the APK using winrar. I made a backup. Time to adb :silly:
well, it doesn't change anything
(and I wipped cache+dalvik)
damn
Hmm that's weird, here's a compiled image I found on my phone if you want to try with that to test. If that works it must be something to do with the image you used, if that doesn't work it must be something to do with the process your using to push it to your phone not working.
http://db.tt/K2uTCdey
If you decide to give compiling another go...assuming you've got your environment and paths set up correctly and you've not changed the 9patches, the errors you're getting may be just plural errors? If that's the case you just need to go through values and change line 79 on each one so they're like %d %%d instead of %d %d (sorry that's a bit vague)
Sent from my GT-I9100 using xda premium
Edit: If you get stuck with it post your framework and i'll do it for you.

Categories

Resources