What tools are necessary to get into theming? - HTC Rezound

I've got Photoshop for raster work and Xara to handle the vector stuff so I'm good on the artwork end of things and I've got VS for coding purposes. What are the best tools out there to get started for pulling the images and getting them back into the phone?
Sent from my ADR6425LVW using xda app-developers app

What OS are you using?
Edit:
So it looks like Xara is only for windows. One of the big tools I use is Android Utility, but it only works in Linux and OSX. Otherwise you could use apktool but its a lot more work.

zone23 said:
What OS are you using?
Click to expand...
Click to collapse
Windows XP or 7.
Sent from my ADR6425LVW using xda app-developers app

Issue becomes decompiling draw9 files. That is the key..

From my Madden PC modding days my preferred method was to do layout in Xara vector to avoid scaling issues then kick it over to PS for finish work then whatever utility was necessary to get it back in the game.
Sent from my ADR6425LVW using xda app-developers app

Well it sounds like you've got some experience. Android Commander is a great windows app for pushing/pulling APKs. I use winrar to extract/zip them in windows.
But ya if you know how to deal with files then it should be easy for ya.
http://androidcommander.com/

Yeah, about the only thing we never cracked was EA's encryption of their 3d models. Pretty serious stuff. Every other image and data file was pretty much fair game.
Sent from my ADR6425LVW using xda app-developers app

zone23 said:
Well it sounds like you've got some experience. Android Commander is a great windows app for pushing/pulling APKs. I use winrar to extract/zip them in windows.
But ya if you know how to deal with files then it should be easy for ya.
http://androidcommander.com/
Click to expand...
Click to collapse
Alright, I'll pull that down when I get back to the house tonight and see what I can do.
Sent from my ADR6425LVW using xda app-developers app

Also, once you have a base theme, I use 7zip because it can open apks as zips without unzipping them or renmaing them, i just drop the images in, close them and presto, no decompiling necessary. There are a couple roms that the camera and the rosie choked on this process and i had to use apktool to unzip and rezip but for the most part i don't even use it anymore.

jbeitel said:
Also, once you have a base theme, I use 7zip because it can open apks as zips without unzipping them or renmaing them, i just drop the images in, close them and presto, no decompiling necessary. There are a couple roms that the camera and the rosie choked on this process and i had to use apktool to unzip and rezip but for the most part i don't even use it anymore.
Click to expand...
Click to collapse
Thanks, I've used 7zip frequently in my other endeavours. Some of the .dats we dealt with grew to over a gig pretty quick. We could decompress images just fine but compressing them was buggy.
Sent from my ADR6425LVW using xda app-developers app

Some custom Chiefs unis put directly into Madden.
{
"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"
}
Sent from my ADR6425LVW using xda app-developers app

And my current wallpaper. The metallized look is what I'm going for in my theme. Drawn in Xara and finished in PS.
Sent from my ADR6425LVW using xda app-developers app

If you want to change any xml's for text colors you would need to decompile with apktool. Probably already using it but notepad++ and html color plugin are great tools for this.

Depends on the level of theming...if your going to really change things, zip7 won't work to well, need to use apktool to properly decompile/compile the apk, if you screw up a .9.PNG, it will produce mass errors.. for this the trick I use is select the staggered black lines on the edge the the image, then invert the selection (control I, in Photoshop) then only work the selected portion. The hardest part I found when learning was creating and using your own signature... I use javas jarsigner..
Sent from my ADR6425LVW using Tapatalk 2

Jmrwbilly said:
Depends on the level of theming...if your going to really change things, zip7 won't work to well, need to use apktool to properly decompile/compile the apk, if you screw up a .9.PNG, it will produce mass errors.. for this the trick I use is select the staggered black lines on the edge the the image, then invert the selection (control I, in Photoshop) then only work the selected portion. The hardest part I found when learning was creating and using your own signature... I use javas jarsigner..
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
Exactly although I haven't had to use apktool in a while mainly because it seems broken since ICS. What I've been using is Android Utility but like I say it only works in Linux and OSX, which is fine for me..

LOBBS said:
Some custom Chiefs unis put directly into Madden.
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
GO LIONS!
Sent from my ADR6425LVW using Tapatalk 2

I use a combination of 7zip, apktool 1.4.9, gimp, photoshop cs2, imageready cs2, and notepad++. In theory if you only want to change a few icons & .9's and not go too in depth, 7zip, Virtualbox+Ubuntu+Android utility, Gimp, along with D.O.C's VillainRom scripts.

zone23 said:
Exactly although I haven't had to use apktool in a while mainly because it seems broken since ICS. What I've been using is Android Utility but like I say it only works in Linux and OSX, which is fine for me..
Click to expand...
Click to collapse
It's not really broken..you need to compile and decompile with 2 different versions...I'm at wakins glen right now for NASCAR this weekend, no computer to look what I use...
Sent from my ADR6425LVW using Tapatalk 2

Alright, trying to get a grasp of what is where and how these things are assembled. Say for instance, I've got Nils Business Sense ROM installed and I love the RedZound theme for it. After installing the theme, I decide I prefer just the stock white icon status bar that originally came with Nils ROM. Of course, I have a nandroid backup from just prior to install. I can see the apks for the icons so I'm guessing the status bar is handled in one of the larger ones. To make this change, one would have to open that and either change the file names or delete the images and change the corresponding build file to reflect those changes?
Sent from my ADR6425LVW using xda app-developers app

LOBBS said:
Alright, trying to get a grasp of what is where and how these things are assembled. Say for instance, I've got Nils Business Sense ROM installed and I love the RedZound theme for it. After installing the theme, I decide I prefer just the stock white icon status bar that originally came with Nils ROM. Of course, I have a nandroid backup from just prior to install. I can see the apks for the icons so I'm guessing the status bar is handled in one of the larger ones. To make this change, one would have to open that and either change the file names or delete the images and change the corresponding build file to reflect those changes?
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
open nils rom zip with 7zip. go to system/apps/ and pull SystemUI.apk into a folder. Go into the themes zip and grab the SystemUI.apk and put it into a separate folder. I take the /res folder out of each SystemUI.apk and put it into the respective folder. Go into res/drawable-xhdpi and select the icons you want from the stock rom's SystemUI and put them into the themed SystemUI res/drawable-xhdpi folder. Open the themes SystemUI.apk in 7zip, delete the res folder and drag the themed res folder into the apk. Put the new SystemUI.apk back into the themes zip system/apps/ folder and then you are good to flash.
btw.... good taste in themes

Related

Cool Colored 3d-kinda ICS unlock sliders

Just unzip file and use 7zip to drop these files into the framework-res.apk from any X2 theme, even stock to get these sliders.
Thanks to Overmind for his ICS Theme which provided the base for these...
If you need help with install let me know...thanks
{
"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"
}
Download -->Jog_Tab.zip
they look great. but im having a problem when i replace the jogtab images in framework res the pics show up in the lock screen but they dont slide across the screen, they just stay in place. im on eclipse1.0, anyone know what im doing wrong? thanks.
asrr62 said:
they look great. but im having a problem when i replace the jogtab images in framework res the pics show up in the lock screen but they dont slide across the screen, they just stay in place. im on eclipse1.0, anyone know what im doing wrong? thanks.
Click to expand...
Click to collapse
I edited these a while ago for eclipse .7 and had the same problem at first, although I don't remember exactly what I did to fix it. It's definitely something to do with the .9.pngs. I would like to know if somebody else did this with success.. I don't really feel up to trying it out right now lol. Sorry I couldn't be of more help.
If u drag and drop them it should work.. remember nitro made this rom with a lot of aosp apps .. if zzmotojog tab didn't exist in his frame work on this version.. then that's what it will do.. yes these r.9 pngs ... all that means is the images are stretchable... if they aren't moving... and u want them u will probably need to use a tool called draw 9 patch to add the one pixel boarder that surrounds a .9 pngs to show it will look normal.. this is fairly advanced stuff.. if I had time id look into this and fix it for u but I've been working on a bunch of stuff
. But that's my 2 cents
Sent from my DROID X2 using xda premium
thanks. my problem was that i was editing the .png.
Ya you should be able to just drag and drop them in, there the exact ones from Overminds ICS eclipse theme, i just changed the centers, the .9s should be fine they were recompiled properly and everything worked smooth on my phone. What i did though was flash them with my modified framework-res.apk in my little personal them so maybe you have to flash them using your current frmework-res.apk just grab a theme from UOT upload your framework-res.apk and systemui.apk but don't make any theme changes but at the end select amend scripting them upload your files and it will give you a zipped flashable theme that you can the open up framework-res.apk with zip and drop the files in there and flash it.
asrr62 said:
thanks. my problem was that i was editing the .png.
Click to expand...
Click to collapse
Yeah I figured if nobody else had that problem it had to be something you did. Those .9s take some time to get down.
Sent from my DROID X2 using Tapatalk
mattfox27 said:
Just unzip file and use 7zip to drop these files into the framework-res.apk from any X2 theme, even stock to get these sliders.
Thanks to Overmind for his ICS Theme which provided the base for these...
If you need help with install let me know...thanks
Download -->Jog_Tab.zip
Click to expand...
Click to collapse
Does it matter where in the framework-res.apk you put them? Folder or just the png files inside get put in there?
Sent from my DROID X2 using XDA App
Drag and drop.. 7zip will do the work for u.. excellent program
Sent from my DROID X2 using xda premium
Kevin3328 said:
Drag and drop.. 7zip will do the work for u.. excellent program
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Well I was going to do it in my es file explorer. So what and where exactly do I drop them? If I do it with 7zip do I have the apk open with it or just drop the images on the zip? What do I drag and drop the folder in the zip or the files inside that folder?
Edit: I right clicked on my uot zip and opened my uot zip with "open archive" and it wont let me drag and drop them into my framework apk...
Sent from my DROID X2 using XDA App
if you right click framework-res.apk inside the framework folder then drop them in there. It will replace the existing ones and exit out of 7zip it will ask you that you made changes to framework-res.apk then flash and you should be good.
Tried it a couple different ways and nothing. Right clicked and opened framwork res apk and pit them in and didn't work. Re did it with them in the res folder with the original slider images and still nothing.
Sent from my DROID X2 using XDA App
U r doing it the right way but u have to click the framework folder then click framework res... then drawable hdpi with eclipse it will say drawable hdpi v4.. once u get that open it will allow u to do it then it will tell u zip is modified just say yes.. put zip on sd card flash in recovery and u will have it.. if u follow these instructions it will work defenitely
So sorry about not answering your question b4... it def does matter where u drop them
U have to close the zip after u move the images also then accept the changes
Sent from my DROID X2 using xda premium
Kevin3328 said:
U r doing it the right way but u have to click the framework folder then click framework res... then drawable hdpi with eclipse it will say drawable hdpi v4.. once u get that open it will allow u to do it then it will tell u zip is modified just say yes.. put zip on sd card flash in recovery and u will have it.. if u follow these instructions it will work defenitely
So sorry about not answering your question b4... it def does matter where u drop them
U have to close the zip after u move the images also then accept the changes
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
I put them in the drawable hpdi folder but when I looked in there today the filenames of the stock ones were not overrode by the new ones. There are also jog tabs images without the zz _moto on front. Im using liberty with the liberty blue sense theme
Sent from my DROID X2 using XDA App
Have u tried using the regular lockscreen because the images have the same name.. there is additional tabs for rotary lockscreen I believe
Sent from my DROID X2 using xda premium
Kevin3328 said:
Have u tried using the regular lockscreen because the images have the same name.. there is additional tabs for rotary lockscreen I believe
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
yeah I tried on both. Ill have to delete the stock lockscreen images I think. Or rename the ones in the zip to overwrite the stock ones.
Sent from my DROID X2 using XDA App
Let me take a look at the liberty framework
Sent from my DROID X2 using xda premium
Thanks
Sent from my DROID X2 using XDA App
I don't think these will work with liberty? Liberty uses a custom lock screen with different names im not sure exactly what those are i have never used liberty. It should be fairly easy to find the names of what liberty is using and just rename them to fit liberty. I should have written better directions but i was in a hurry and just kinda threw them up.
Yes they need to be in this folder...Framework-res.apk/res/drawable-hdpi(v4) for eclipse
Just checked out the framework and these images do not exist nor do I see any pngs that it could be renamed too.. I think the lockscreens are all in the jog tab section of the framework and and there are quite a few to choose from.. sorry to tell u but I don't think this is possible to implement on liberty until the developers make it as an optional lockscreen choice
Sent from my DROID X2 using xda premium

[Q] Text-based battery percent in Status bar

The thread listed here is pretty old and it does not apply to my Epic Tough running 2.3.6. I am trying to accomplish the same thing but can not seem to locate any proper info on how to do it. I am still new to reading code and messing with .smali files and xml's but I have no problem learning. If anyone knows where I may be able to find the proper info for my phone or a SGS II equivalent please let me know.
I have tried the lockscreen mods but they all seem to give me Hot Reboots since most of the framework and jar files seem to have errors in them. I can deal with out the lockscreen mod but I truly like the text based battery and CM is not a choice for me at this moment until they get it stable.
I have also send the OP a PM but no response in days...
Thx for your help
{
"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"
}
bump myself here for more exposure... Hopefully someone knows how to do this on GB
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Hmm, this should be fairly simple. In theory, at least.
I would have thought it's just a case of adding some strings, then changing the drawable xml files. But I can't try it today as I'm out on the road. Hopefully I can try this tomorrow and I'll report back.
Sent from my U20i using xda premium
Use the uot kitchen online. You can tweek to your hearts desire..
*signed
In the screenshot you have posted, it's an app that's doing it with the battery icon hidden on MIUI with extended settings. I have the same setup. Give me a sec and I'll post a picture. I believe the app I use is called Battery Status.
Unless you're running MIUI or another ROM where you can hide the battery icon, you'll have duplicate icons - one in the normal spot and one on the other side.
Here's the screenshot of mine with the same concept.
EDIT:
Nevermind, I was seeing my own status bar when I opened the image through Tapatalk. Now I feel like an idiot.
This setup is native in CM and in TSM tweaks as well as EDT tweaks. I simply just want to use pct text and not PNG files. Tux for the uot kitchen ref but that's not what I am looking for. Uot is old school to me but they do serve a great purpose. The screenshot is not an app though since I linked the mod in my post.
Sent from my SPH-D710 using Tapatalk
Ticklefish said:
Hmm, this should be fairly simple. In theory, at least.
I would have thought it's just a case of adding some strings, then changing the drawable xml files. But I can't try it today as I'm out on the road. Hopefully I can try this tomorrow and I'll report back.
Sent from my U20i using xda premium
Click to expand...
Click to collapse
Thx let me know what you can dig up. I have been looking at code trying to figure it out but its a little bit above my pay grade...lol
Sent from my SPH-D710 using Tapatalk
No problem. I'm pretty certain I know how to do this but I'm not in a position to try it out for a few hours.
If I'm right though, it should just be a case of changing three xml files. No smali, which is always a good thing..
Oh, and this should work on any rom on any version of Android.
Sent from my U20i using xda premium
Ticklefish said:
No problem. I'm pretty certain I know how to do this but I'm not in a position to try it out for a few hours.
If I'm right though, it should just be a case of changing three xml files. No smali, which is always a good thing..
Oh, and this should work on any rom on any version of Android.
Sent from my U20i using xda premium
Click to expand...
Click to collapse
From the few tutorials I have found you are usually adding lines to smali. I have no problems making those changes either if necessary. I am just sick of the icon based battery and prefer text with % after it.... Thx I await your results
Sent from my SPH-D710 using Tapatalk
Well, that didn't work. I spent ages tweaking the code to get it to compile but all it does is just remove the battery entirely.
I was trying to display strings instead of drawables but..oh well.
If you want to do this with your phone's font, you'll need to edit some smali..somewhere. Unfortunately that stuff is still mostly over my head.
Or you could just make some image files that only have text in them. It's a bit of a cheat but it could have the effect you're after.
Sent from my U20i using xda premium
Thanks man I thought about changing the PNG files but I would prefer not to...lol
Sent from my SPH-D710 using Tapatalk
It may be the best way really. Otherwise you have to find the smali code that uses the battery image xml file and alter it to...something..
Sent from my U20i using xda premium
Ticklefish said:
It may be the best way really. Otherwise you have to find the smali code that uses the battery image xml file and alter it to...something..
Sent from my U20i using xda premium
Click to expand...
Click to collapse
There has to be a way since the TSM mod has it in it.... Got to be a way
'Battery status bar' and 'status bar battery', both apps that will do what you want.
*signed
mrrick said:
'Battery status bar' and 'status bar battery', both apps that will do what you want.
*signed
Click to expand...
Click to collapse
Thanks but that's not what I am looking for. Its not an app I want but for it too show natively
K
*signed
android 4.0.4 ICS Xperia S
Could someone provide tutorial for ICS?
I'm really like this.
Aviator_Yosuke said:
Could someone provide tutorial for ICS?
I'm really like this.
Click to expand...
Click to collapse
The best way to do this is use one of the number icons available in Tickle My Android..
That is not the best way to do it at all... The best way to do it is breakdown the xml for the ui your looking at and add the xml for it and take the statusbar_battery.xml and where it points to @drawable/stat_sys_battery1 yeah well point it to @strings/stat_sys_bat_1 and create the string for it and every other battery line bam done! Thats the best way I can see it being done... Adding it to the given ui is a different story all together changing it is much easier than adding it.. Adding it requires you go into statusbar.smali and copy and paste the whole section of code that controls the battery and asign a new variable to it to make it work and im not even sure if that would work Im just guessing here I work with sense not aosp but its all the same crap..

[THEME]5/7 Transparent Google Play Shop 3.5.16

5/6 - Fixed theming on the "add credit card" page.
TransBluePhonesky3.5.16-rev3-signed.zip​
4/30 - small tweak....updated to show all apps, regardles of dpi setting. Also by popular request, the auto update is killed. I've named it so that it will flash and properly replace for the latest Seraphim Collective release.
TransBluePhonesky-3.5.16-signed.zip
4/9-Updated to 3.5.16.
Took a while to get things sorted out where they look right (mostly) with ics. It's not quite as clean as my previous versions as there's some graphics I'd like to rework, but it's not too bad.
Same as usual, here's a zip to flash in recovery:
-->TransBlueGooglePlay3.5.16-signed.zip<--
...and if you want to go back, here's a zip with an unmodified market:
GooglePlay3.5.16-stock-signed.zip
Remember, my update script will place Vending.apk in you /system/app directory. So if you were updated from 3.5.15 you'll need to remove /data/app/com.android.vending-1.apk by uninstalling updates or removing via adb or root explorer. Also, I noticed that in the new ics rom they've called it Phonesky.apk when it's initially installed in /system/app. (The package name in the Manifest is still com.android.vending though)
​3/29- added more xhdpi graphics
I know there's probably quite a few folks who are already aware of my themed market, but I know there's some who haven't seen it yet and since I'm rocking a Note these days I thought I should make a post here in our section.
This newest apk had more changes vs the last couple updates I've done, so there's definitely a chance I've missed some spots. I've tried to be pretty meticulous and theme as much as I possibly can in this apk. I think you'll find some unique aspects in my theme that you won't find in other apks.
*Because of the transparency, this looks best with darker wallpapers*
FLASH IN RECOVERY
TransBlueGooglePlay-3.5.15-signed.zip
If you wish to revert, here's the unmodified market, also in a recovery zip:
GooglePlay-3.5.15-stock-signed.zip
*Notes*
You must have had the market previously installed and have opened it at least once. This insures that the apk is fully installed and registered with the package manager. My themed apk WILL NOT install since I've reused the same signature. It can only be pushed in to replace an existing apk.
My update zips will copy the apk to your /system/app directory. If you've received any OTA updates for the market, you need to uninstall these via Settings->Applications->Manage Applications->All then scroll down to "Google Play Store" and select "uninstall updates."
Thanks for looking. I hope you enjoy!
{
"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 dude, trying it now
Sent from my SAMSUNG-SGH-I717 using xda premium
Awesome thanks
Sent from the only smartphone designed by Chuck Norris
That's wicked dude! Downloading right now
Sent from my SGH-I717R using Tapatalk
very nice and fits perfect with my new obssession theme , willlink ppl here
very nice! looks awesome with transfuzion as well. Thanks bud. I will add a link on mine also.
oOOOH. THANK YOU!!
edit: fyi...The link for your stock version isn't working...
Im just curious, just incase there is a play store update, will the theme go away too? thanks
Sent from my SAMSUNG-SGH-I717 using Tapatalk
keplenk said:
Im just curious, just incase there is a play store update, will the theme go away too? thanks
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Click to expand...
Click to collapse
That info is in the op =)
Can we get the original market link working
?
Sent from my SGH-I717R using xda premium
abduleo77 said:
Can we get the original market link working
?
Sent from my SGH-I717R using xda premium
Click to expand...
Click to collapse
Sorry about that...don't know what happened there. It's working now.
Thanks for the compliments everyone.
DAGr8 said:
very nice and fits perfect with my new obssession theme , willlink ppl here
Click to expand...
Click to collapse
ee23hd2 said:
very nice! looks awesome with transfuzion as well. Thanks bud. I will add a link on mine also.
Click to expand...
Click to collapse
Thanks guys.
You're welcome to borrow some of my graphics as well if you'd like. One of my goals is to have this apk look the same on every device so I have it call local resources instead of system ones. I actually rebuild my frame-res with those elements so I can have the buttons/progressbar/progress_indeterminate/etc for all apps.
Thank you and yep, Link for stock is working now.
pendo said:
Thanks guys.
You're welcome to borrow some of my graphics as well if you'd like. One of my goals is to have this apk look the same on every device so I have it call local resources instead of system ones. I actually rebuild my frame-res with those elements so I can have the buttons/progressbar/progress_indeterminate/etc for all apps.
Click to expand...
Click to collapse
you should look at what I did in my obssession theme for progress indeterminate .
DAGr8 said:
you should look at what I did in my obssession theme for progress indeterminate .
Click to expand...
Click to collapse
I had a quick look....maybe I missed it or something but it looked like you had 4 png's for progress indeterminate? Or were you referring to the process of how you themed it?
pendo said:
I had a quick look....maybe I missed it or something but it looked like you had 4 png's for progress indeterminate? Or were you referring to the process of how you themed it?
Click to expand...
Click to collapse
well yea what I meant is how we use icons instead of color code for all progress bars.
DAGr8 said:
well yea what I meant is how we use icons instead of color code for all progress bars.
Click to expand...
Click to collapse
Oh, lol...I've actually been doing that for a while on progress_horizontal. But for indeterminate and progress spinners I've made a TON of pngs that I cycle pretty fast in the xml control file. Gives me pretty smooth animation. My batteries are 206 png's, lol. And my progress spinners emulate the full rotate feature that's only available in api 11 and up. It took a lot of png's to do that too, lol.
I've started going through my graphics and converting them to xhdpi...
pendo said:
Oh, lol...I've actually been doing that for a while on progress_horizontal. But for indeterminate and progress spinners I've made a TON of pngs that I cycle pretty fast in the xml control file. Gives me pretty smooth animation. My batteries are 206 png's, lol. And my progress spinners emulate the full rotate feature that's only available in api 11 and up. It took a lot of png's to do that too, lol.
I've started going through my graphics and converting them to xhdpi...
Click to expand...
Click to collapse
i noticed that what is it 40 or so you used for prog inditerminate? Definetly makes for smooth animations. looks awesome
Sent from my SAMSUNG-SGH-I717 using xda premium
ee23hd2 said:
i noticed that what is it 40 or so you used for prog inditerminate? Definetly makes for smooth animations. looks awesome
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
39 to be exact. I only shift each png by one pixel.
The honeycomb progress spinners were a bit more work. When you look at the xml there's an inner and an outer loop that spin in opposite directions. And one loop goes through 1080 degrees to the other ones 720 (3:2 ratio). To achieve a nice smooth animation that follows the same 3:2 rotation ratio I ended up with 108 pngs....for each spinner size (I use 3 sizes in this apk)
So could this by any chance work on the Epic 4G Touch?

[Guide] How to add an Icon image to your taskbar clock

I have been themeing since windows mobile days, but this is my first tutorial so bear with me
But all that aside, this tutorial will be for adding an icon to the status bar clock on sense 3.0 in the systemui.apk
First you want to set up all your tools.
I have apktool 1.4.3 set up with current framework-res.apk and com.htc.resources.apk set up from it
However I use apkmanager 5.02 out of simplicity.
You can use whatever photo manipulation programe you want, I use photoshope
You will also need a draw9patch tool for this task.
You can find that in your sdk tools under C:\Program Files (x86)\Android\android-sdk\tools in most cases
Lastly you need a programe to work with xml's
I use dreamweiver but you can also use notepadd ++
So lets get started.
Connect your phone to your computer and pull the systemui.apk file from /system/apps/ on your device
you can do this many different ways.
ie.. adb pull
..android comander (my methode)
..root explorer
you can even just extract it from the rom zip.
Moving on.
Decompile the systemui
After the apk is decompiled, navigate to \SystemUI.apk\res\layout and open up the xml file names "statusbar"
{
"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"
}
you want to look for this line:
Code:
In the file I am working on it is line 9
You are going to want to change it to something like this :
Code:
*Note that in android: paddingRight I added a space so that it would not make a face. Keep in mind there is actually no space there
Now befor we move on let me explain the edits I have made.
Highlighted in red: This is the color of the text for the clock. If you know web hex colors, your good to go here. Just replace the 00 00 00 with the value you desire.
Highlighted in orange: change it from left centered to centered. Make the image... well centered haha
Highlighted in blue: This is where you add the bg for the clock. You can name it whatever you want but this is what I named mine when I made it.
Highlighted in green: This determins the distance from the right end of the taskbar that your new icon will sit. When I went through and did this, changing it from 6 pixels to 4 pixels worked with my icon image. It centered my icon behind the time perfectly. You may have to play with this depending on your icon.
That should take care of all the code edits.
Now we need to make the icon!!
Open your image programe of choice and open a new project set to 38 by 38 pixles
Design your icon however you wish but keep in mind that this will be a draw9 image so you want to have the center area streatchable without distortions
Once your happy with that, save it as a .png file and save a copy to your desktop.
Almost done
Open up the draw9patch batch file.
After it loads up, you should see a window pop up with an arrow.
Drag your icon from your desktop into this window.
You should now see your icon in this window
You can now play around with the .9 patch for this image
On the right hand side of the window you should see the 'demo' of your image.
It will have a virticle streach, horizontal streach and a diaganol streach.
only one that matters is the horizontal for this image.
Now, make the center of your icon streatchable, designated by the black pixels on the top and bottom of your image.
With mine, i left the last 6 pixels to the left and right blank on the top and bottom of the image.
On the left and right of the image, I filled all in but the last 2 pixels on the top and bottom.
After you are satisfied with that, file and save patch9.
you should now have an image on your desktop named "statusbar_clock_icon.9", or whatever you named your icon. The important part here is that you see the '.9' at the end.
Next, drop the icon into the SystemUI.apk\res\drawable-hdpi folder.
Next, recompile your apk.
Hopefully you get no errors.
Sign the apk if you feel the need to and then push it back into your phone and enjoy
Reserved 1
Reserved 2
Good job man!
Sent from my PG86100 using Tapatalk 2
Screenies and good job
Sent from my Xoom using Xparent Red Tapatalk
With this, would you be able to add a carrier name on there like the vivid on ics?
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Rydah805 said:
With this, would you be able to add a carrier name on there like the vivid on ics?
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Click to expand...
Click to collapse
I would imagin so..
I've tried a few things but they havnt worked so far lol.. I'm thinking it might require a framework-res edit.. all the icons in the left hand side are all framework afterall
Sent from my PG86100 using XDA App
Interesting.
Can you perchance provide me with some screens of this edit?
aedon said:
I would imagin so..
I've tried a few things but they havnt worked so far lol.. I'm thinking it might require a framework-res edit.. all the icons in the left hand side are all framework afterall
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
It does. This is why I told you get me on talk, in aosp I did the side switch and added carrier name, in theory the edits would be similar. Here is how I switched system icons to left side of bar and re-ordered their appearance, and added carrier name.
http://forum.xda-developers.com/showthread.php?t=1361715
the moving of icons and carrier is in systemui, the reordering is in frameworkres.
pstevep said:
Interesting.
Can you perchance provide me with some screens of this edit?
Click to expand...
Click to collapse
Sure can.
I just have to figure out where to post them since every pic I upload seems to link fail LOL.
I will have to go through the steps again and take screen shots as I do this time
I'll try to have them up tonight
Sent from my PG86100 using XDA
il Duce said:
It does. This is why I told you get me on talk, in aosp I did the side switch and added carrier name, in theory the edits would be similar. Here is how I switched system icons to left side of bar and re-ordered their appearance, and added carrier name.
http://forum.xda-developers.com/showthread.php?t=1361715
the moving of icons and carrier is in systemui, the reordering is in frameworkres.
Click to expand...
Click to collapse
Idea? Could we make this call the same file that we use to change the lockscreen carrier name?
aedon said:
Sure can.
I just have to figure out where to post them since every pic I upload seems to link fail LOL.
I will have to go through the steps again and take screen shots as I do this time
I'll try to have them up tonight
Sent from my PG86100 using XDA
Click to expand...
Click to collapse
Awesome thanks mate.
We want Screenshots.
pstevep said:
Idea? Could we make this call the same file that we use to change the lockscreen carrier name?
Awesome thanks mate.
Click to expand...
Click to collapse
I'm not sure about all that but I do know that in the status_bar_extended.XML there is code for the carrier name and its Android I.d in line 7 or so.
I tried messing with that a bit but got no results.
Sent from my PG86100 using XDA
Yeeaaahhh
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Rydah805 said:
Yeeaaahhh
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Click to expand...
Click to collapse
Broken pic
Sent from my PG86100 using xda premium
aedon said:
Broken pic
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
They all appear to be broken lol. I dunno why but I have seen a few other folks having issues uploading pics on here. Drop had to upload 3 times to get a pic to come through last night.
Damn uploads!
LOL
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Rydah805 said:
Damn uploads!
LOL
Sent Using My HTC Evo 3D, On The Now Network From Sprint!
Click to expand...
Click to collapse
Lmao Might be a rom issue for some folks... Dunno
reaper24 said:
Lmao Might be a rom issue for some folks... Dunno
Click to expand...
Click to collapse
The picture thing?..
I don't think so.. I can't even upload from my desktop
Sent from my PG86100 using xda premium
aedon said:
The picture thing?..
I don't think so.. I can't even upload from my desktop
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
Ya at times I had some random issues uploading from my computer were I had to make a new post for the pic to upload.. Dunno why.. My phone I haven't uploaded anything in awhile.. Just seen dropzero try uploading from his phone last night a pic took him 3 new posts to get the thing to come through.

[REQ] Soft Key Mod help

I am running CM9 Alpha 3 and I have always wanted soft keys on my X2 because I just do not like the hard buttons. I found the thread about how to enable them on ICS Roms and it is fairly simple to do. I contacted DK on twitter to see if he may add them in a later update and he said he was not going to add them. I tried to do it last night and I just could not get APKTool to re-compile the Framework-res.apk.
Could someone who is able to re-compile an .apk possibly try this for me, it is only 2 edits to a couple of .xml files inside of the Framework-res.apk and adding 4 .png files to the SystemUI.apk. I only need the Framework-res.apk as I have already added the .png's to my SystemUI.apk. Here is the link to the mod and thank you to whoever will do it for me.
How to enable soft keys
Or you could download Button Savior and save yourself the headache.
tallyforeman said:
Or you could download Button Savior and save yourself the headache.
Click to expand...
Click to collapse
Thanks but its not the same and it gets in the way. The mod is very easy to do, I just cannot get APKTool to re-compile. The whole mod takes less than ten minutes.
Sent from my Incredible 2 using xda premium
bswann said:
Thanks but its not the same and it gets in the way. The mod is very easy to do, I just cannot get APKTool to re-compile. The whole mod takes less than ten minutes.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
I heard if you used 7-Zip, you can take files out and put them in without extracting and messing with the APKs signature. Maybe you can just use it to take out the XML file and edit it and put it back in with the images too. Then replace the file on your phone.
jsgraphicart said:
I heard if you used 7-Zip, you can take files out and put them in without extracting and messing with the APKs signature. Maybe you can just use it to take out the XML file and edit it and put it back in with the images too. Then replace the file on your phone.
Click to expand...
Click to collapse
Thanks but, you have to edit the bool.xml inside the framework-res.apk/res/values and the only way to get to it is to de-compile it.
Sent from my Incredible 2 using xda premium
bswann said:
Thanks but, you have to edit the bool.xml inside the framework-res.apk/res/values and the only way to get to it is to de-compile it.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
Ah. Well Id help if I knew how to decompile and recompile. But I dont. Sorry man.
Not being a DB,but I guess I'm confused. You wont be able to use the soft key area but for only that. At least with the Button Savior app, you can tap it and it disappears. You don't loose any screen space. Then again, it doesn't look as cool as the soft keys......
tallyforeman said:
Not being a DB,but I guess I'm confused. You wont be able to use the soft key area but for only that. At least with the Button Savior app, you can tap it and it disappears. You don't loose any screen space. Then again, it doesn't look as cool as the soft keys......
Click to expand...
Click to collapse
Your not being a DB. Button Savior would always be in the way whereas the soft keys would stay out of the way with only taken up about 37 px ( about the size of the status bar ). I just think with the size of our screens that it would benefit the experience.
Sent from my Incredible 2 using xda premium
Well, I got the framework-res.apk to re-compile but the arsc file is half the size it was and when flashed I get a USB error that says something like " activity?$%'*: USB is not responding please select a USB application ".
Sent from my Incredible 2 using xda premium
What exactly is it you don't like about the buttons, if you don't mind me asking?
tbluegator said:
What exactly is it you don't like about the buttons, if you don't mind me asking?
Click to expand...
Click to collapse
All the phones I have owned before this one have had capacitive buttons. Not to sound too lazy but, having to physically press the button vs just tapping the screen is annoying to me plus I like the way it looks.
Sent from my Incredible 2 using xda premium
So i was messing around with this and got the apk and zip signed. But when I flashed the zip it bootlooped. It went through one cycle like it would start up, flashed the lock screen, then went back to boot screen. When it flashed the screen it looked like there was a place where the soft keys should be that was just black and the rest of the screen had not been resized to fit it the keys were in place. I have a video uploading if anybody wants to see what happened(I'll add it when it's finished).
I should add, I'm not too concerned with having these, I just thought it would be an interesting project to try out. Seems like there are at least a few people that would use this.
Edit: Here is the link to the video
http://bit.ly/LjQpQi
Boom. Got them on here. Having some of the market compatibility issues though.
{
"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"
}
Nice!!! Looks legit, now what do I have to do to get them
Sent from my MB870 using XDA
RoyJ said:
Nice!!! Looks legit, now what do I have to do to get them
Sent from my MB870 using XDA
Click to expand...
Click to collapse
Haha I'll try to make a zip. Never have before though. I just changed what I needed to and repackaged dzk's alpha 3.
Again though, the screen looks pretty weird in parts. I'm going to try to find a fix for that tomorrow. Apparently it's something with the dpi of the screen. I'm pretty new to this so I'll have to do some digging
Sent from my MB870 using Tapatalk 2
That looks good, I personally don't need 'em but I know other people will.
Sent from my MB870 using XDA
Well no rush. I sometimes get annoyed at night by my buttons lol. I'll definitely use those when alpha 4 comes out
Sent from my MB870 using XDA
if it helps fascinate cm9 doesnt have the onscreen soft keys, except the OG ones that came from samsung

Categories

Resources