[Q] Status bar dimensions - EVO 4G Q&A, Help & Troubleshooting

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.

Related

Is it Possible?

To change Homescreen colour theme to Transparant? Just for the Icons to exist but no color. Any ideas on how?
Thanks,
newbie26 said:
To change Homescreen colour theme to Transparant? Just for the Icons to exist but no color. Any ideas on how?
Thanks,
Click to expand...
Click to collapse
The softkeys cant be transparent..but the icon bar can be..
Change it in the homescreens xml
Would I be able to find this xml in the Windows folder?
Nevermind, I googled it, got all the info I needed. Prolly should have just done that from the start. Sorry
newbie26 said:
Nevermind, I googled it, got all the info I needed. Prolly should have just done that from the start. Sorry
Click to expand...
Click to collapse
Provide the info you found please always helpful for others reading post
I sure can. actually it's pretty simple. Go to application data/home folder (example-whatever.home) file you want to tweak. email or what ever method you choose to get the file to your PC (I emailed it from my phone to myself). Open on PC and tweak using Notepad. Save your new version under a different name or same name and Autosync back to phone and put back in same folder and away you go with your new personalized homescreen. Let me know if this works for you as well. I will mess with it tonite and post before and after pics when done.
newbie26 said:
I sure can. actually it's pretty simple. Go to application data/home folder (example-whatever.home) file you want to tweak. email or what ever method you choose to get the file to your PC (I emailed it from my phone to myself). Open on PC and tweak using Notepad. Save your new version under a different name or same name and Autosync back to phone and put back in same folder and away you go with your new personalized homescreen. Let me know if this works for you as well. I will mess with it tonite and post before and after pics when done.
Click to expand...
Click to collapse
Kinda the same as what did to alter the colour of text
I think pretty much exactly.

wvga hexagon (honeycomb) cab

Hello everyone, i look for wvga honeycomb cab for my hd, i saw somewhere in the forum a cab who replace hexagon in 6.5 start menu like in the old build, but it only work in qvga devices. So i'm a jalous of that, what about a wvga version ? is there also a cab for us or what ? Thank
sorry if this thread already exist, but i search and i find nothing... i would like to know if it possible to make a cab to
i believe this is what u need
Unfortunately this only gives you the honeycomb shaped selector (instead of the glowing ball); it does not give you the nice honeycomb background.
Not so busy on the honeycomb actually but jsut think that if they want to remove it they should then line up the icons in rows rather than staggered for no reason...or give back the background so you can see the structure
htckaiseruser said:
i believe this is what u need
Click to expand...
Click to collapse
mkent_barbados said:
Unfortunately this only gives you the honeycomb shaped selector (instead of the glowing ball); it does not give you the nice honeycomb background.
Not so busy on the honeycomb actually but jsut think that if they want to remove it they should then line up the icons in rows rather than staggered for no reason...or give back the background so you can see the structure
Click to expand...
Click to collapse
i confirm it's not the entire honeycomb, just the shaped selector, but thank for your quick anwser, i hope a wvga cab will soon release.
Do you want the honeycomb background with 3 or 4 columns?
3 columns can have large or small icons. 4 columns has to be small icons. I have a few files you can try.
Cool, 3 columns with large icons would be wicked for me!! Glad to 'beta' test!
Shetlander said:
Do you want the honeycomb background with 3 or 4 columns?
3 columns can have large or small icons. 4 columns has to be small icons. I have a few files you can try.
Click to expand...
Click to collapse
mkent_barbados said:
Cool, 3 columns with large icons would be wicked for me!! Glad to 'beta' test!
Click to expand...
Click to collapse
i have 3 columns with small icons on mine, i would like to try. By the way, can we make the start menu bigger like in the lastest build ?
I was looking for the honeycomb menu too and found only the one where's teh highlight.
Would be really nice if somebody would post a cab
Sorry I didnt get back last night but attached is the files. Ive tried to get the icons as central as possible.
Change the file extension of the startmenu_gridscene file to .cpr.
Use Total Commander to move the 3 files to the windows directory and soft reset. You should have 3 columns with large icons. Try a fairly light wallpaper and youll see the effects better.
Let me know how you get on. Ill see if I can make a CAB if people are happy.
Thanks, will be glad to try, but the zip shows up either as empty when I try to extract or corrupt if I try to view it...
Shetlander said:
Sorry I didnt get back last night but attached is the files. Ive tried to get the icons as central as possible.
Change the file extension of the startmenu_gridscene file to .cpr.
Use Total Commander to move the 3 files to the windows directory and soft reset. You should have 3 columns with large icons. Try a fairly light wallpaper and youll see the effects better.
Let me know how you get on. Ill see if I can make a CAB if people are happy.
Click to expand...
Click to collapse
thanks for the files... but it seems that the archive is broken or something....cant open it...it says its corrupt
You cant open the file with winzip or any other zip prog. Its not a zip file. I changed the file extension so I could upload it for you . Thats why I advised you to change it. Put simply -
Download the file, save it where you know it is (DONT TRY AND OPEN IT)
Navigate to the file, right click and click on rename. Change ONLY the zip to cpr and press enter.
Then put all three files (without changing the sizes) into the windows directory and soft reset. Thats it.
AHhhh...thought the file to rename was IN the zip. Trying again!
Shetlander said:
You cant open the file with winzip or any other zip prog. Its not a zip file. I changed the file extension so I could upload it for you . Thats why I advised you to change it. Put simply -
Download the file, save it where you know it is (DONT TRY AND OPEN IT)
Navigate to the file, right click and click on rename. Change ONLY the zip to cpr and press enter.
Then put all three files (without changing the sizes) into the windows directory and soft reset. Thats it.
Click to expand...
Click to collapse
works great!
Ok, this is perfect, many thanks. Nice big icons (why have smaller when you don't get more, can see if you choose 4 columns however) and the layout now makes *sense* -- silly to have it staggered with no structure to tell you why. Slightest hint of lag on the first use after a reset but really not noticible, and then doesn't happen again...works perfect. Thanks again...
sorry for being stupid... but I dont have these 3 files...I only have the renamed one and nothing happens when I copy it to windows folder...?
The two images "thumbnails" are the other two files! Took me a minute too cause they said thumbnails instead of attached image...
There you go
BIG-Stan said:
sorry for being stupid... but I dont have these 3 files...I only have the renamed one and nothing happens when I copy it to windows folder...?
Click to expand...
Click to collapse
Thanks a lot! Now it works! Thanks
mkent_barbados said:
The two images "thumbnails" are the other two files! Took me a minute too cause they said thumbnails instead of attached image...
There you go
Click to expand...
Click to collapse
I tried to upload them as files but when I pressed preview, it put them up as images. But at least youve got it working.
hi, how would I go about getting this working for landscape?
mkent_barbados said:
hi, how would I go about getting this working for landscape?
Click to expand...
Click to collapse
At the moment I have only altered the config file for portrait but if I have time I will look at the landscape config file. I might have a look to see if its possible to get 4 columns with large icons in landscape.

[Q] Theme HtcDialer/Phone.apk

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 >.<

[Q] Theming Phone.apk in HTC Sense

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?

Need help with themes...

I'm new to Android, coming from my FrankenPre2 after giving up hope on webOS and HP. Picking up the Epic Touch has been great, besides the LOS and battery issues. I was pretty deep into modding the Pre, so I'm looking to do the same here.
My first thought was to try to modify the images on the Epic, but I am lost as to where to find the correct files to modify. I was able to change the icon for the messaging app and the Incoming/Outgoing phone call animation, but that's pretty much it. I don't know where to start with the phone app, since images seem to be spread out all over the place. Opening up the phone apk yeilds a ton of images, and I don't know which ones to change.
My question would be to any themers out there, or anyone familiar enough with Android. How do I know which images I need to edit? Is there a directory or a file list which gives corresponding locations to specific images, such as the "1" button or the "Call" button, or the launcher icons? Or is it more a process of trial and error? Any help would be greatly appreciated. Thanks.
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
gtuansdiamm said:
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Pretty much everything. My first shot will be at the stock icons on the launcher. The I'd like to start on themes for the phone, email, and messaging apps. Pecifically, on the phone I'd like to change much of the color scheme, since the stock colors are in my opinion pretty ugly. But I also want to change the dial pad numbers and other standard buttons.
I was directed to this thread by another Android user:
http://forum.xda-developers.com/showthread.php?t=821638
Looking into it, the framework-res.apk does have a lot of images that are familiar, but there are a lot of images that aren't there. I think I'll have to start learning about the names of the file locations, and going by trial and error. It would be awesome if there was a simple blueprint as to where the images you want to change are, but ah well. I've got a lot of learning to do. Thanks for the response, and if you have any other suggestions, let me know.
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
KelvCast said:
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
Click to expand...
Click to collapse
Thank you! I would never have looked in the contacts for the dialer icons. There doesn't seem to be a perfect logic as to which apk's hold the images, so I guess it's going to be a lot of trial and error here. If you know of any more locations, let me know. Thanks!
you need to modify the images in the following that I know of to get a pretty standard theme
Framework-res
touchwiz framework-res
contacts.apk
systemui.apk

Categories

Resources