Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
DJZager said:
Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
Click to expand...
Click to collapse
u would need to decompile the apk.
look inside res/values
and res/values-hdpi
maybe a few more.
inside those foldrs u would see colors.xml
from there u should be able to figure out which one is the text color.
p.s.
im havn't done it myself, but thats how u get can get a bunch of color changed in all of your apps.
thats how i made my app drawer transparent, and changed animations etc... screw those hex editing tweaks... its a huge waste of time to figure out what does what.
just decompiling the apk gives u everything u need and its all in English.
keep in mind that u might need to actually change in in a different apk... not necessarily in phone.apk.
and i do hope that u found the images inside com.htc.resources.apk for the actual keypad images.
just use apktool.
version 1.3.2 might give u issue cuz it compresses the resources.arsc... so if u need version 1.3.1 let me know... i got that one also.
Values\styles.xml
<Line 196> <item name="android:textColor">@color/color_255_255_255</item>
<Line 200> <item name="android:shadowColor">@color/color_0_0_0</item>
<Line 220> <item name="android:textColor">@color/color_255_255_255</item>
<Line 224> <item name="android:shadowColor">@color/color_0_0_0</item>
These are the ones you are looking for. In HTCDialer.apk
The way they are shown here will make them black with a white shadow. you can replace the @color/color_0_0_0 part with any hex color code (ex. #ffffffff) so you can choose any color. Hope this helps
Wow, thank you for that. I'm going to try that and report back.
Related Topic: I'm trying to change the color for the text that appears in the accumulator in HtcDialer.apk
There are 3 nearly identical files in /res/layout: dialer.xml dialer_cdma.xml, and dialer_cdma_sp.xml
Each of these has coding which refers to the text within the accumulator (i.e. where the numbers you dial show up). So far, changing the colors there either accomplishes nothing, or it causes acore FCs.
Am I poking the wrong beehive?
how do u change button color?
Related
Help!
I am about to go bald pulling all my hair out over this. Why wont it theme???
I want to change the dialer buttons but they wont change in android mode. WTH?
>_<
http://dl.dropbox.com/u/7197242/froyo/z.Burst.PlurStarAlpha.zip
(link may not work at first, still uploading)
check the com.htc.resources.apk in system/framework. That contains some dialer buttons also.
ok well i went through htc res again and i couldnt find it.
is it that the button itself is a png and then the numbers are controlled by an xml color?
_Burst_ said:
ok well i went through htc res again and i couldnt find it.
is it that the button itself is a png and then the numbers are controlled by an xml color?
Click to expand...
Click to collapse
png files in the drawable-hdpi
I can't find them either.. LOL I have changed all the dialer buttons i can find in resources, htcdialer, phone and nothing is changing. Can someone be specific as to what folder and the exact filename of at one dial button?
Thanks
hey thanks!
I kinda got it. now just need to find what changes the number colors. facepalmed myself after this. ha!
So clue me in already... Which files are you editing?
Riptide9 said:
So clue me in already... Which files are you editing?
Click to expand...
Click to collapse
htc_pin_asset_pressed and htc_pin_asset_rest png
com.htc.resources/res/drawable-hdpi
now just need to find what controls the color of the numbers and letters on the buttons.
_Burst_ said:
htc_pin_asset_pressed and htc_pin_asset_rest png
com.htc.resources/res/drawable-hdpi
now just need to find what controls the color of the numbers and letters on the buttons.
Click to expand...
Click to collapse
DAMN!!! I had changed all those with numbers and did'nt even bother with the 2 blank ones... I should have known better because they were blank in 2.1 LOL Thanks!!! I will let you know if I find the text xml
Find it yet? tired of xml edits >.<
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.
I have a theme request for the Galaxy Nexus... I've tried doing this myself, but with my novice level of expertise, I'm afraid it's hopeless...
I really detest the new "Evil Snowman" image that shows up for all contacts without a pic, caller ID, text messages and some icons. I have no idea why Google chose this image. The little robot was much nicer. Anyway, if anyone has the time, I would really appreciate a theme that keeps everything stock, but replaces all the horrible "Evil Snowman" images with something better - a little Android Robot would be great.
I'd be happy to donate to anyone that can do this.
Thanks so much...
if you look a little further back in this forum (or maybe it was in Rootzwiki, not sure which) there were a few themed apks and zips that I found I looked through them but never saw anything that interested me.
I looked too... The problem is that I really just want a stock look, and no snowman. I don't want to change everything else.
Matt_TX said:
I looked too... The problem is that I really just want a stock look, and no snowman. I don't want to change everything else.
Click to expand...
Click to collapse
what img do you want there instead? i can do that for you as i get back home.
tell me what rom/version you're using too
Sent from my Galaxy Nexus
etoy said:
what img do you want there instead? i can do that for you as i get back home.
tell me what rom/version you're using too
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Honestly, I'm not that fussy... Perhaps a little Android man in a color scheme that goes with the stock look.
The problem is that the snowman is everywhere... Here's a list of places I've seen, there may be more...
- Phone App / Contacts
- Caller ID
- Conference Call
- Messaging
- People App Icon
- People App top of screen
- People App contacts
If you can do this for me, I would be delighted... I will also gladly donate if it works.
BTW, I'm running Stock 4.0.4 for the CDMA/LTE Galaxy Nexus (Rooted and De-odexed)
EDIT: I like the contact image shown here, but perhaps in colors that better fit the stock look:
http://forum.xda-developers.com/showthread.php?t=1467139
I agree with you Matt...although I never thought of the stock 'unknown' contact image as an Evil Snowman, lol.
Anyways, the files that you want to change are in framework-res.apk\res\drawable-xhdpi\ic_contact_pictureXXXX.png. Attached to this post below, you'll find a quick screengrab that I took from my theme's working project folder.
Speaking of which, I will be updating my PCB Blue theme to include the Android robot image (specifically 'ic_contact_picture_2.png') by default, as I also prefer it over the "Evil Snowman"
You should be able to just edit framework-res.apk with WinRAR since you're only replacing normal PNG files. Extract them first, rename them, then drop them back into the .APK...on the other hand, if you like my PCB Blue theme, you can always wait for the next version where that will be done.
** EDIT ** - I am attaching the 3 untouched PNGs from framework-res.apk to make things a bit easier for you. They have been renamed properly to have Android use the robot as default. You therefore shouldn't need to do anything else but pop them into your framework-res.apk (many guides exist on how to edit this file, but the quick version would be to use ADB in Recovery to make changes (pull --> edit --> push --> set permissions) to the file.
Also, it may be possible that the other apps/APKs have their own resource image for an unknown contact. If that's the case, you'll have to dive into those APKs too (I only mod framework-res.apk myself, didn't peek into any others).
Hope that helps.
scar45 said:
I agree with you Matt...although I never thought of the stock 'unknown' contact image as an Evil Snowman, lol.
Anyways, the files that you want to change are in framework-res.apk\res\drawable-xhdpi\ic_contact_pictureXXXX.png. Attached to this post below, you'll find a quick screengrab that I took from my theme's working project folder.
Speaking of which, I will be updating my PCB Blue theme to include the Android robot image (specifically 'ic_contact_picture_2.png') by default, as I also prefer it over the "Evil Snowman"
You should be able to just edit framework-res.apk with WinRAR since you're only replacing normal PNG files. Extract them first, rename them, then drop them back into the .APK...on the other hand, if you like my PCB Blue theme, you can always wait for the next version where that will be done.
** EDIT ** - I am attaching the 3 untouched PNGs from framework-res.apk to make things a bit easier for you. They have been renamed properly to have Android use the robot as default. You therefore shouldn't need to do anything else but pop them into your framework-res.apk (many guides exist on how to edit this file, but the quick version would be to use ADB in Recovery to make changes (pull --> edit --> push --> set permissions) to the file.
Also, it may be possible that the other apps/APKs have their own resource image for an unknown contact. If that's the case, you'll have to dive into those APKs too (I only mod framework-res.apk myself, didn't peek into any others).
Hope that helps.
Click to expand...
Click to collapse
Scar,
The snowman is definitely evil. I feel like he is mocking me with that sideways smile. I don't like it... Hahaha... Just kidding
From what I can tell, the contacts.apk, phone.apk and mms.apk all have their own "snowman" images so I think they would all have to be edited. I know that I can do this using 7-zip, but it's really a bit beyond my comfort level right now. I'm still learning
If I edit the framwork-res.apk, does it override the files in the individual apps? It sounds like it doesnt. BTW, your image with the droid at 45 degrees is fantastic. It is EXACTLY what I'm looking for. Do you have a larger version for to replace the one that shows up with caller ID?
Thanks,
Matt.
Matt_TX said:
Scar,
The snowman is definitely evil. I feel like he is mocking me with that sideways smile. I don't like it... Hahaha... Just kidding
From what I can tell, the contacts.apk, phone.apk and mms.apk all have their own "snowman" images so I think they would all have to be edited. I know that I can do this using 7-zip, but it's really a bit beyond my comfort level right now. I'm still learning
If I edit the framwork-res.apk, does it override the files in the individual apps? It sounds like it doesnt. BTW, your image with the droid at 45 degrees is fantastic. It is EXACTLY what I'm looking for. Do you have a larger version for to replace the one that shows up with caller ID?
Thanks,
Matt.
Click to expand...
Click to collapse
LMAO! You know, the more I look @ him, the more I dislike him too...especially with that sideways smirk...
If you did check those other APKs and see snowman images, then yep, it's quite certain that those APKs will need to be modded. I use WinRAR and it couldn't be easier...one thing you must remember is to choose ZERO or STORE compression when working with 'framework-res.apk' and possibly others. They are not compressed in the ROMs (at least AOKP, which I run).
So, if you edit only framework-res.apk, then it probably will NOT change the caller ID, contacts photos, etc.. In terms of the image, I took that directly from 'framework-res.apk', so I unfortunately don't have a better/larger image. You might try Photoshop/GIMP, using an image resize method that is "better for enlargement".
Cheers Matt!
I'm still no further forward in my quest to kill the snowman. I like the robot image posted above, but the issue is that it's 108x108 pixels. I basically need 4 different images. One light grey as shown which is 128x128, this will work for the People App, MMS and the Framework. Then I need a darker one which is also 128x128 for the contacts list in the phone app. Next I need a dark image which is 360x360 (for caller ID screen) and another light image which is 360x360 for the People app (viewing a contact).
In summary:
128x128 light grey
128x128 dark grey
360x360 light grey
360x360 dark grey
I have tried to resize the image, but it looks like crap. Can someone please help me? I think I can get this done with the right png files.
Thanks,
Matt.
Matt_TX said:
I'm still no further forward in my quest to kill the snowman. I like the robot image posted above, but the issue is that it's 108x108 pixels. I basically need 4 different images. One light grey as shown which is 128x128, this will work for the People App, MMS and the Framework. Then I need a darker one which is also 128x128 for the contacts list in the phone app. Next I need a dark image which is 360x360 (for caller ID screen) and another light image which is 360x360 for the People app (viewing a contact).
In summary:
128x128 light grey
128x128 dark grey
360x360 light grey
360x360 dark grey
I have tried to resize the image, but it looks like crap. Can someone please help me? I think I can get this done with the right png files.
Thanks,
Matt.
Click to expand...
Click to collapse
Looking for the same here. Any luck?
Hello all, you may be familiar with how the GS4 has a white background in Settings and other options with black/dark grey font. I've been trying to find a GS3 theme that'll work on our sprint phones but had no luck. Would it be hard to make a theme like this for our Sprint S3s?
The color seems pretty simple. But the text, I have no experience with so Idk. As for the settings background, just gotta find the apk (don't remember which it is. But just find the background, invert, place it back In the apk and then put it into the location and rename the original with a . Bak and then place the new one there and set correct permissions then restart.
ReapersDeath said:
The color seems pretty simple. But the text, I have no experience with so Idk. As for the settings background, just gotta find the apk (don't remember which it is. But just find the background, invert, place it back In the apk and then put it into the location and rename the original with a . Bak and then place the new one there and set correct permissions then restart.
Click to expand...
Click to collapse
Well actually, Touchwiz by default pulls a black background if there's no universal background image in the framework-res's nodpi folder. You can simply add a white background and name it correctly to have it enabled. The problem is, enabling the inverted text here. I'm sure there's values all over the TW framework that overlap (for example, Touchwiz may have a TW_Color_001, TW_Color_002, etc. with each hex value used to determine text values. In settings, it may be TW_Color_002 for headers/sub headers, but it may also call upon that value in for example, the messaging app. If we were to invert the TW_Color_002 from #FFFFFFFF to #FF000000, then it will fix the Settings, but then the Messaging app will have black on black. The solution is to make the Settings app completely indepedent of TWFramework values by individually setting it's own values across the system. This is what would make doing such a task tedious and time consuming. If you're willing to try it, you can decompile SecSettings.apk from your ROM of choice, manually adjust all of the text HEX values from #FFFFFFFF to #FF000000. We'd also have to call upon it's own background image so it doesn't affect all apps.
Ascertion said:
Well actually, Touchwiz by default pulls a black background if there's no universal background image in the framework-res's nodpi folder. You can simply add a white background and name it correctly to have it enabled. The problem is, enabling the inverted text here. I'm sure there's values all over the TW framework that overlap (for example, Touchwiz may have a TW_Color_001, TW_Color_002, etc. with each hex value used to determine text values. In settings, it may be TW_Color_002 for headers/sub headers, but it may also call upon that value in for example, the messaging app. If we were to invert the TW_Color_002 from #FFFFFFFF to #FF000000, then it will fix the Settings, but then the Messaging app will have black on black. The solution is to make the Settings app completely indepedent of TWFramework values by individually setting it's own values across the system. This is what would make doing such a task tedious and time consuming. If you're willing to try it, you can decompile SecSettings.apk from your ROM of choice, manually adjust all of the text HEX values from #FFFFFFFF to #FF000000. We'd also have to call upon it's own background image so it doesn't affect all apps.
Click to expand...
Click to collapse
Pheww,...that sounds pretty damn inolved. Im going to do more extensive readin on decompiling apps and recompiling and Hexs and see if I can take a shot at this sometime. Thanks for the info!
88EVGAFTW said:
Pheww,...that sounds pretty damn inolved. Im going to do more extensive readin on decompiling apps and recompiling and Hexs and see if I can take a shot at this sometime. Thanks for the info!
Click to expand...
Click to collapse
Its more simple than you think... all those codes, are just colors lol.. open an image editing program.. #000000 if black #FFFFFF is white, 00FF00 is bright lime green, etc.
Hello folks,
I don't quite like the blue color of the quick settings panel background on the Tab S2.
Is there any possibility to customize that color? (E.g., to a blackish or grey one?)
Wanam Xposed lets me customize several colors, but not this one...
Yes. You need to edit xml files in systemui.apk. I have the diffs from the s6 if you want to see. Should be about the same. Pm me, and I'll also try to post here, when I get a chance.
Steve
So, you need to edit values in "status_ bar_expanded_header.xml", found in res/layout, and "colors.xml", found in res/values.
In status bar_exapnded_header.xml, change the value in red (its right at the top) to the hex color of your choice. Your's will be a bit different, as this is from the S6:
Code:
<com.android.systemui.statusbar.phone.StatusBarHeaderView android:layout_gravity="clip_horizontal" android:id="@id/header" android:background="[COLOR="Red"]@drawable/notification_header_bg[/COLOR]" android:descendantFocusability="afterDescendants" android:layout_width="@dimen/notification_panel_width" android:layout_height="@dimen/status_bar_header_height" android:baselineAligned="false" android:paddingStart="@dimen/notification_side_padding" android:paddingEnd="@dimen/notification_side_padding"
In colors, change the value for the following to the color you want:
Code:
<color name="notification_header_bg_tw">
There are more changes you can make in colors.xml (e.g., button color, etc.), and they should be apparent once you get in there...
I attach a status_bar_exanded_header.xml and colors.xml from an "AOSP-style" notification/quick settings area I did for the s6 for your reference.
Please feel free to ask in the thread or via PM if you need help on this. I may release a ROM with some theme options, but I am not sure, as I haven't released one in years and am not sure I have the time to properly maintain it. If I do, or even make one for my own use, I'll post the SystemUI.apk.
Steve
On my T813, the file "status_bar_expanded_header.xml" doesn't have a line like you have in red, and the color.xml file doesn't exist in res/values. Any idea what's up with that?
I'm using GoodLock and mine and I managed to make the status bar completly black. Here's a link: http://www.apkmirror.com/apk/samsung-electronics-co-ltd/good-lock/
Rm4n said:
I'm using GoodLock and mine and I managed to make the status bar completly black. Here's a link: http://www.apkmirror.com/apk/samsung-electronics-co-ltd/good-lock/
Click to expand...
Click to collapse
Hi!
I tried this and I don't really like it, how can I go back to the original?
Thanks.
Nevermind. I found the solution.
Is apkmirror safe?
Hi how do I use it..i install and it restart my phone but then I can find any app or new settings?
Stuck on goodlock
I installed GoodLock as suggested as well, but nothing seems different after restart; no app in drawer, no settings anywhere, can't uninstall it...any help is welcome.
voland34 said:
I installed GoodLock as suggested as well, but nothing seems different after restart; no app in drawer, no settings anywhere, can't uninstall it...any help is welcome.
Click to expand...
Click to collapse
I think there should be a possibility to run this app using any activity manager from playstore.