Change the default orange highlight color - Android Software/Hacking General [Developers Only]

Android seems to prefer orange color. It's used in highlight focused edit control. Also, in Gingerbread it's used to indicate you scroll to top/bottom.
How do I change the color, I really don't like it and want something bluish.
Thanks!

I have been wondering this for a while too! Anyone know?

Would interrest me too...
No one knows???

List selector resource ... but it is in the os applications which you cannot access without rout access

I have root but don't completely understand what u mean. Could you add a little detail please
Thanks in advance

From what I know resource are located in /system/framework/framework-res.apk.
Now you have to Disassemble this apk , modify the png's you are interested in , reassemble the apk an copy back to phone.
Now .. disassemble/assemble you can use apk-tool.
You should search for list_selector_background_focus.9.png and other list_selector....png modify those .
I don't know how to copy the reassembled apk back to the phone as I don't have a rooted phone and can't guarantee it will work, but if there are no other replies from more experienced users ... you can give it a try

Youll find the images in framework-res.apk/res/drawable-mdpi.
If your new to Modding and the like I'd advise apk-manager.It uses apk-tool but is more user friendly and will allow you to push(copy) the edited framework. There's a link for it in my sig.
Hope this helps.

Find a ROM, metamorph or Theme you like and apply it. Quickest and easiest solution!

Related

[REQ] Modify Application - Last Call Widget

I would like to use this Widget again but simply cant stand for any background to it, as it doesn't then fit the rest of my simple no background widgets. I tried pulling the apk apart myself and editing the PNG files to be transparent but then I could not get the apk to install nor did pushing it to my device work at all.
If someone can tell me how to modify the apk or modify it for me, I'd be very appreciative.
I emailed the Dev of this and have not gotten a response about adding a transparent background option so that is why I am here now asking for help. Thanks.
http://www.appbrain.com/app/com.zedray.calllog
So you can see what Last Call looks like I have attached a screen, I believe it is an issue with editing the .9 file. I can't figure out how to do it correctly, ugh..
No one eh? Does anyone think it's just a matter of figuring out how to edit these .9 files and I should be ok no need to resign the package? I Wish the dev would help out here, I'd gladly throw em ten spot for just changing the image background.
I've added a transparent style to the Widget (was a little bit more complicated to implement in practice than it sounds).
For future reference, nine-patch files are altered by the Android build system during compilation making it more difficult for a third party to make the changes described. Hope it suits your home screen.

Replacing Icons in framework-res.apk

I've been opening up framework-res.apk as a zip file and changing around icons for my status bar with other themes. I just replaced the signal bars icons and the 3G icons, repackaged the framework into a zip file, and applied it via rom manager. No Icon change. I've been able to replace several before, any ideas why it wouldn't work now? I reopened the file and verified the icons had been changed.
The icons you are looking for are in com.htc.resources.apk
If you have something specifically you want changed I can tell you where it is located and what the filename is. I am building some theme tutorial videos because I had a hard time finding all of this information. I want to make it easier for others. I remember all the way back in June when I got frustrated finding what files went where. I am making a list to help others out, let me know what you are looking for.
[email protected] said:
The icons you are looking for are in com.htc.resources.apk
If you have something specifically you want changed I can tell you where it is located and what the filename is. I am building some theme tutorial videos because I had a hard time finding all of this information. I want to make it easier for others. I remember all the way back in June when I got frustrated finding what files went where. I am making a list to help others out, let me know what you are looking for.
Click to expand...
Click to collapse
Subscribed!
Sent from my ADR6300 using XDA App
subscribed as well, a video with some info would be great. I am definitely no developer, but not afraid to mess around a bit. I was also interested in making similar changes as OP.
In fact I am using Jerick's smooth sense mod with white letter mod by squintz, and a couple of the icons were coming up out of order. I was not cool enough to be able to repair the info that points to an icon so I found the icons in framework-res.apk and changed the names of them so that I would get the correct icon in status bar. But obvously that is not the correct fix. However this is where the icons OP is talking about. So if I can make a name change to a png can't you also replace that png. I believe that the apk has to be signed correctly after manipulating?
Anyways any basic info about doing such would be greatly appreciated
spjoneser said:
subscribed as well, a video with some info would be great. I am definitely no developer, but not afraid to mess around a bit. I was also interested in making similar changes as OP.
In fact I am using Jerick's smooth sense mod with white letter mod by squintz, and a couple of the icons were coming up out of order. I was not cool enough to be able to repair the info that points to an icon so I found the icons in framework-res.apk and changed the names of them so that I would get the correct icon in status bar. But obvously that is not the correct fix. However this is where the icons OP is talking about. So if I can make a name change to a png can't you also replace that png. I believe that the apk has to be signed correctly after manipulating?
Anyways any basic info about doing such would be greatly appreciated
Click to expand...
Click to collapse
You don't need to resign the apk unless you completely extract it. Then good luck trying to get a system apk to work. Just open the archive and replace needed imgs then update the archive and you're done. All depends on what os your using. Linux makes it easy to edit apks without extracting. In win you have to rename to .zip then do line I said then rename back to .apk
Sent from my ADR6300 using XDA App
Which files specifically are the signal meter? I just want to change those ones back to the stock icons.
jskolm said:
Which files specifically are the signal meter? I just want to change those ones back to the stock icons.
Click to expand...
Click to collapse
I can tell you later (i dont have the dump on hand) but the signal meter pngs are located in com.htc.resources.apk under /res/drawlablehdpi/ thay have a name like sys_status_cdma1 or something like that. I think if you get that far the images might jump out at you. If you want the exact ones I can tell you when I get back from work.
[email protected] said:
I can tell you later (i dont have the dump on hand) but the signal meter pngs are located in com.htc.resources.apk under /res/drawlablehdpi/ thay have a name like sys_status_cdma1 or something like that. I think if you get that far the images might jump out at you. If you want the exact ones I can tell you when I get back from work.
Click to expand...
Click to collapse
Found them. Thanks for the direction. I was looking through the folders and I couldn't find them, because they are transparent backgrounds, so the white on white blended right in. I changed out the signals for the ones I wanted and everything looks like its working now.
Thanks for your help!

[Guide]Change the Ticker Clock Color!

Alright, I am going to try and make this guide as easy to follow as possible for the 1000x people who requested it, lol...
Before starting there is a few things you are going to need/should have:
apk manager...
text editor...
General Idea with How to Work a Computer/Follow Directions
Since we are going to be editing xml's, you have to use apk manager... Hopefully you have some basic knowledge with this "program", since it takes a little getting used to.. If not though, i will try and make this as painless as possible
First, open up apk manager and decompile (9) the framework-res.apk of your choosing.. You can unzip my gingerbread theme and use that framework-res, or any other one that you can find
Now, go to the projects folder, and navigate to "framework-res.apk\res\layout".. This is where, as the name implies, all the layouts for the ticker are placed... They are in xml format, so you can easily use notepad or such...
The XML that we are looking for in order to change the color is "standbymode.xml". Open it up in your text editor... Don't be intimidated, i know it looks confusing lol.. We are only messing with a little part...
Navigate down to the 13th line, aka "<TextView android:textSize="@dimen/time.text.size"... This is where the phone gets its information about the size, font, and color for the Time!
Scroll through that line until you come across android:textColor="blah"... As you can guess the Hex Value within the quotes is the color the clock is! Right now it is ffeaff00, but we can very easily change that
All you have to do now is by googling "Hex value for purple" or whatever color you want, find the hex value that you want to use The code should be exactly six letters/numbers, no more and no less... Now, copy that hex value, and replace the old code from "ff" on! Do not erase those first two letters, because that is telling the phone what transparency value to use, and we would like to keep it fully visible
Easy Enough, right? The hard part is now done!
All we have to do now is recompile the apk, which can be tricky if you don't know what your doing..
P.S if you know how to do this, you are done! I would still scan over these steps though, just to make sure you are doing it right
To compile in apk manager, just type 11! if you get a compile error, then you did something wrong That shouldn't happen though, this is a relatively easy mod....
Wait a while until you get a "Is this a system apk?" message... type "y".... then type y again for the next message... Now do what it says!
Don't forget to delete the "resources.arsc" file, and the "standbymode.xml" file!
Now you are done!! Just replace that framework using whatever method you use, Whether that be with adb when the phone is in recovery, or by replacing the new modified apk with the original within a zip file already made by me
If you make your own, don't be stingy.. Upload it to XDA or whatever, and share it with the community I will put it up on the front page, and give you the credit Make sure though you share with me what kind of framework-res.apk it is, and where you got as in, if you got it from my gingerbread package, or from my stock 2.2 Accurate theme, or Reboot Options, or any other option
fantastic guide! thank you for this!
but im just wondering one thing, why dont you have a donate button for all the hard work you have been giving to the continuum community? hmmm
Trail, is there any code we can get to that's worth modding that's in Java? If so, I can start doing some development.
Sent from my SCH-I400 using XDA App
http://www.mediafire.com/?ajjo09hwxejqsl0
I added my own outlined orange softkeys, and and orange ticker color.
and a few things to the lockscreen text for the lulz
Also I failed to mention that it's based on your accurate gingerbread theme.
Thank you Jakeschweinz for sharing with the community I shall put this in the main mod Thread, and make it easy for everyone to find it And i'll be sure to let you have all the credit
Thanks again!
just a quick link to help you guys out with color
http://html-color-codes.info/
and here's my baby blue clock color
http://dl.dropbox.com/u/30842475/framework-res.apk
6FCAF5 <---- if anybody wants to know the color code for it,
And thanks again Trailblazer for this Guide.
You tricky bugger you figured it out without me lol..
Nice job!
So I'm kinda new to doing this, and I saw the upload that someone has on there for mediafire, and I was wondering, do you just download that, or do you put it in the .apk manager and change it?
This guide is very soon going to be outdated
Sent from my SCH-I400 using xda premium

[Q]Add more system fonts

Any way of adding my own font?
stefankorun said:
Any way of adding my own font?
Click to expand...
Click to collapse
Try here, its another set of system fonts http://forum.xda-developers.com/showthread.php?t=994544
or try here a tutorial on how to manually change a font to whatever you want http://forum.xda-developers.com/showthread.php?t=989941
I've tried the first one and can confirm it works on the O3D, but I've not tried manually changing the fonts...
Or another alternative is use the online theme kitchen here http://uot.dakra.lt/ in which you can change one font, but there is only about 20 to choose from
Hope this helps
Edit: You shouldn't really be asking this question in android development, should be in general
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to General
i can confirm the manual way of adding your own fonts works.
Unfortunately i dont know enough about sql to be able to add additonal fonts rather than replacing one of the originals.
In data/data/com.jungle.app.fonts/databases/ there is a file called JSFONTS.DB. If someone knows how to manipulate this database i'm sure we can add aditional fonts as long as there is an entry in there for it.
If i could develop apps i would write a simple form that asks which font you want to add using a file browser and then copys it to the right location and adds the entry in the table. Hopefully someone who can develop apps would be kind enough to assist

Good APK Modification Tutorial?

Hey Everyone,
I'm looking to get back into de-compiling, modifying, and recompiling APKs again (after many many years) and I'm finding it a bit difficult this time around. For starters, why are there so many "drawable-xxxx" folders now and how do I know which folder to modify the .png files that I want to customize? Also, how do I go about modifying the .xml file for an app to change the font color/style, theme, etc.?
Does anyone know of a good resource to refresh my memory on all of this?
Thanks for the help!
BMWPower06 said:
Hey Everyone,
I'm looking to get back into de-compiling, modifying, and recompiling APKs again (after many many years) and I'm finding it a bit difficult this time around. For starters, why are there so many "drawable-xxxx" folders now and how do I know which folder to modify the .png files that I want to customize? Also, how do I go about modifying the .xml file for an app to change the font color/style, theme, etc.?
Does anyone know of a good resource to refresh my memory on all of this?
Thanks for the help!
Click to expand...
Click to collapse
Hi,
I've made some, I don't claim they're the best or something, but I think it's a good place to start.
For everything I could think of: [GUIDE][INDEX]How to modify an apk
For colors and png:
[GUIDE][THEMING]How to find in the code what you want to theme
[THEME & GUIDE][XDA]XDA Reloaded
My last guide was the INDEX, in previous guides I use methods to sign or align apks that I don't really recommend anymore. Read the index first for signing and aligning, then other guides
I also have made themes, the link is in my signature, click it to see

Categories

Resources