Themeing Question? - Captivate Themes and Apps

Anyone know or want to help me theme the boxed in part?
{
"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!

is it just a .png file?
If so give me the dimensions and I can try and do something up....you just want the 3 small lines colored?

Mortem Tuam said:
is it just a .png file?
If so give me the dimensions and I can try and do something up....you just want the 3 small lines colored?
Click to expand...
Click to collapse
I just want the three lines colored... I can't find it at all

systemUI.apk --> status_bar_close_on.9.png

well when you find it...get me the dimensions or better yet...the actual .png file

watsa said:
systemUI.apk --> status_bar_close_on.9.png
Click to expand...
Click to collapse
Yeah but maybe I am missing something but that is only a segment of the whole bar right? Or do you just chance that?

For the most part got it but.... Anyone, help please?
I just recolored it and pushed it via ADB.
Why did this happen?

iRide113 said:
For the most part got it but.... Anyone, help please?
I just recolored it and pushed it via ADB.
Why did this happen?
Click to expand...
Click to collapse
Its a .9 image so it needs to be decompiled first... edited then recompiled.

shoman94 said:
Its a .9 image so it needs to be decompiled first... edited then recompiled.
Click to expand...
Click to collapse
I get errors when trying to decompile it...
http://dl.dropbox.com/u/21172955/Error.txt
It is a UOT Kitchen file...

iRide113 said:
I get errors when trying to decompile it...
http://dl.dropbox.com/u/21172955/Error.txt
It is a UOT Kitchen file...
Click to expand...
Click to collapse
Not sure what you mean. You decompile the whole apk with that in it. Then you edit it without messing up the .9 image. Then recompile it.
sent from my continuum powered captivate on tapatalk....

shoman94 said:
Not sure what you mean. You decompile the whole apk with that in it. Then you edit it without messing up the .9 image. Then recompile it.
sent from my continuum powered captivate on tapatalk....
Click to expand...
Click to collapse
When I use Apk Manager and go to Decompile with dependencies, I select SystemUI.apk first, then I drag and drop Framework-res.apk into the Cmd, but I get error "Sorry that's not the dependee apk, try again."
EDIT: I figured it out... Had to change some settings inside Apk Manager... Thanks a lot

Related

Black pixels visible on the 9-patch images?

I've used the 9-patch application to draw the black pixels as I should and the result is 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"
}
Visible pixels? What do I do wrong?
Did u compile the image using eclipse ?
U gotta do that if i recall correctly. Also if ur on a windows machine and the image-background transparency is not an issue, may i suggest MsPaint (When editing a .9 png it keeps the data intact even after u save the file)
Daneshm90 said:
Did u compile the image using eclipse ?
U gotta do that if i recall correctly. Also if ur on a windows machine and the image-background transparency is not an issue, may i suggest MsPaint (When editing a .9 png it keeps the data intact even after u save the file)
Click to expand...
Click to collapse
Hm, the little guide I found here didnt say a single word about compiling something? I'll check it out.
Daneshm90 said:
Did u compile the image using eclipse ?
Click to expand...
Click to collapse
These files are compiled automatically when building an apk.
@Hund
Did you named these files like: some-file.9.png ?
Brut.all said:
These files are compiled automatically when building an apk.
@Hund
Did you named these files like: some-file.9.png ?
Click to expand...
Click to collapse
Im using the stock files as an template. I've installed Eclipse and I think I know how the get i right now. I'm booting up my Hero atm and hopefully I got it right.
Success! The button looks like it should.
Can you post the tutorial?
Sent from my Eris using XDA App
I dunno where I found it. But check out these posts here:
http://www.swedroid.se/forum/showpost.php?p=191880&postcount=10
http://www.swedroid.se/forum/showpost.php?p=191880&postcount=11
A picture says more than a thousand words.

[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] Custom phone answer screen

Is it possible to create your own answer screen ?? I have a bad ass idea and I would like to get to work on it but IDK if anyone has done it yet, I've tried searching but no luck with finding anything for anyone who has Galaxy S captivate. I hate the stock answer screen its so damn boring...
I believe what you're looking for would be in /system/phone.apk (or possibly in /system/dialeractivitytab.apk). Try tearing one of those apart and see what you can come up with.
jmtheiss said:
I believe what you're looking for would be in /system/phone.apk (or possibly in /system/dialeractivitytab.apk). Try tearing one of those apart and see what you can come up with.
Click to expand...
Click to collapse
I'm a little new at this by "tearing" you mean unzip?? I am going to look in those folders and try just that.
It is gonna be in the phone.apk
You can approach it two ways:
1. If you want to just do image editing, use 7zip and extract the apk's into new directories. Edit the images (probably in /res/drawable-hdpi), and then put them back into the original .apk file with 7zip.
2. Using a tool like apktool or apkmanager, decompile the apk. Then edit the files in the directories it creates, and recompile the apk.
Has anyone been successful at changing 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"
}
jmtheiss said:
You can approach it two ways:
1. If you want to just do image editing, use 7zip and extract the apk's into new directories. Edit the images (probably in /res/drawable-hdpi), and then put them back into the original .apk file with 7zip.
2. Using a tool like apktool or apkmanager, decompile the apk. Then edit the files in the directories it creates, and recompile the apk.
Click to expand...
Click to collapse
Thanks, LOL you just gave me a ton to google
Yes alot of that has been changed. If this is your first attempt at theming an app might I suggest starting here
http://forum.xda-developers.com/showthread.php?t=908270
robm1911 said:
Yes alot of that has been changed. If this is your first attempt at theming an app might I suggest starting here
http://forum.xda-developers.com/showthread.php?t=908270
Click to expand...
Click to collapse
Well if anyone wants to know here is an image of it slapped together, I really just slapped it on LOL if anyone would like to be a part of this I would gladly accept the help.
Well to further explain my idea if anyone wants to take it up, the image of the contact would appear on the left and no image on the right just fuzzy as if bad reception like
before answering would look like this, of course instead of codec would be a phone number >
After reading everything I wont be able to do this until I get a new PC and that wont be for a good while :/ (my laptop is too crappy)

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.

[Lollipop] N9005 SecContacts_Phone_OSup recompiled don't work

hi guy
I have try to mod SecContacts_Phone_OSup.apk of Leaked stock Lollipop GBNL8 for N9005 but he don't work (haven't got icon phone and contact on grid app after flash)
I have decompiled the apk stock and recompiled without any mod but don't work too
I have tried with another Compression level
it not work
I use apktool 2.0.0RC3 (support Lollipop)
smali/baksmali 2.0.5
Same problem here!
Yep. Many of us have been aware of the issue practically since it came out. There are ways to change some things, but no way around the recompiling issue (yet).
Hi mate,
How you were able to change things inside apk?
I tried only with rar to change res files but FC at all.
masterross said:
Hi mate,
How you were able to change things inside apk?
I tried only with rar to change res files but FC at all.
Click to expand...
Click to collapse
Usally you use 7-zip . You right click on apk and select open within the 7-zip right click options (do not unzip) . Then drag your png etc..
I could tell you, but I'd have to kill you....
{
"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"
}
Bruno saa said:
hi guy
I have try to mod SecContacts_Phone_OSup.apk of Leaked stock Lollipop GBNL8 for N9005 but he don't work (haven't got icon phone and contact on grid app after flash)
I have decompiled the apk stock and recompiled without any mod but don't work too
I have tried with another Compression level
it not work
I use apktool 2.0.0RC3 (support Lollipop)
smali/baksmali 2.0.5
Click to expand...
Click to collapse
try the app here
http://forum.xda-developers.com/showpost.php?p=58139464&postcount=85
Ahem.....
carl1961 said:
try the app here
http://forum.xda-developers.com/showpost.php?p=58139464&postcount=85
Click to expand...
Click to collapse
Morningstar said:
Ahem.....
Click to expand...
Click to collapse
thank's guys

Categories

Resources