I'd like to change the system font to Helvetica Neue Thin. I have the files, but how can i replace the system font on my Hero? Sorry if this is in the wrong place.
check this thread here --> http://forum.xda-developers.com/showthread.php?t=587897
piece of cake, really. Just pick your fonts carefully, because if they're spaced differently than the stock font, words might get cut off or run together.
There's more to it than jsut swapping fonts though, go download metamorph, that will get you started.
Or try our fontflasher:
link
ok, so I want to create a theme with a few small changes to apply to my hero.
I know you have to edit the .png's inside any 'drawable' folders inside the .apk's in /system/app.
I think.
But I cannot seem to find the location of the .pngs I want to change, specifically the curved bar in the lockscreen, and the bar+icons that appear at the bottom of many of the htc apps (friendstream, clock ext.)
could anyone provide me with the paths/any help as to what I'm doing wrong?
Thanks in advance!
ok, I found them. There in /system/framework
O.K. I've seen in different themes or roms that the backgrounds are different than stock. Evil eris the robot on the dialer screen was blue. I've seen em pink. Seen em with checkerboard pattern across his midsection. Never seen a completely custom without the robot tho. My question is how do you change that screen and is the robot not removable? Can I just put some random picture that I think is cool at the time? Oh and how do I change the color of the call button and battery icon, if theres a way without installing other apps to do it. I want to open the xml file, edit it and push it back.
They are just .png files and you can change them to whatever you want. Trick is to locate them. The one on the dialer you are talking about is located in the phone.apk in drawable-hdpi called phone_default_icon.png you can just make a new one and replace it. They need to be the same size as the original... that one is 480x618 but most icons are 72x72.
Ok I'm just going to throw this out and say I think the Clockopia font is UGLY. i love the deskclock and use this as my alarm, but I would really like to know how to change the font for it. So Has anyone themed this? Or atleast changed the font? I changed the clockopia font in my system but it didnt change this.
I have. You have to pull the DeskClock.apk file and replace the Clockopia.ttf file under the Assets>Fonts folder with the font you want to use and then push the changed .apk back to your phone, making sure its in the Systems>App folder on your phone.
Let me reanimate this thread.
I tried to do this on MIUI Gingerbread. Replaced the clockopia.ttf (which I really think is ugly as hell) with a renamed whatever.ttf
Pushing the recompiled (no compiling errors here) Deskclock.apk back the clock crashes totally when setting an alarm, but works then and sets the alarm.
logcat gives me java.util.formatter + lang.string.format and 3 or 5 other errors.
Having made a custom ROM I really would like to change this font.
Big question. When you rotate the phone, the status bar background (in themes like Darkness, with a design) gets messed up because it's shaped for our screen and not a small piece that gets tiled like the original. Can you make a landscape version of the background? I noticed in TouchWiz30Launcher.apk there is a homescreen_icon_bg.png and homescreen_icon_bg_h.png the latter being for a horizontal orientation of the launcher. Can we apply this concept to a custom made portrait AND landscape drawer background in twframework-res.apk? I would really like to know if it is possible, but am not asking for the creation of the background. I can make my own, but I need to know how to make it work.
I think you have to create a layout-land and layout-port folder and put something in there. Hopefully someone else will chime in.
A simpler idea might be to modify status_bar_expanded.xml to have multiple images for the background and bottom bar, like 3 where the center is fixed and the outer 2 are tiled matched up to look seamless of course. Or just allow certain parts to be stretched and some not with draw9patch.
CuriousTech said:
I think you have to create a layout-land and layout-port folder and put something in there. Hopefully someone else will chime in.
A simpler idea might be to modify status_bar_expanded.xml to have multiple images for the background and bottom bar, like 3 where the center is fixed and the outer 2 are tiled matched up to look seamless of course. Or just allow certain parts to be stretched and some not with draw9patch.
Click to expand...
Click to collapse
Thanks a lot for your post, I looked into status_bar_expanded but couldn't find anything applicable. Looked at status_bar.xml and it contains all the info on status_bar_background in the vertical position. How would you put it all into horizontal? Would you have to edit the existing xml or make a new one in layout-land? Could I just copy it into layout-land and edit in some new filenames and stuff?
EDIT: You know how to signify a file it says @drawable/statusbar_background? Does this actually refer to status_bar_background.9.png? And how would you signify a drawlable-land destination? @drawable-land/statusbar_background?
That's mostly what I don't understand yet. In framework-res there are 3 folders:
layout
layout-land
layout-port
icon_menu_layout.xml is in land and port and not in just layout. I think because layout is default for both, and land or port is used for those modes if the file doesn't exist in layout. Just like an xml in drawable can replace an image if the same name is used. But I think there's more to it than that. I tried creating a layout-land and layout-port and moved status_bar_expanded.xml to both and it looked normal both ways. I would think that layout-land would automatically use the drawable-land images too. Something else is missing.
EDIT: Oh yes @drawable/statusbar_background is the png in drawable-hdpi, unless there's actually a drawable/statusbar_background.xml which would make it use that instead. I just don't know where drawable-land-hdpi fits in.
Inside the XML there is a "vertical" and "horizontal" section, you'd have to change that too. I have changed it and will try it tonight in my framework. I just don't understand the references it makes too well...
I've been trying to find a simple reference, but I guess most of it's here:
http://developer.android.com/guide/topics/ui/layout-objects.html
Or around that area of the docs. The vertical/horizontal I think is the alignment of objects in a group. I don't think it has to do with land/port.
This looks interesting too. I just found it. It looks like a way to view layouts on the computer.
http://developer.android.com/guide/developing/tools/hierarchy-viewer.html
CuriousTech said:
I've been trying to find a simple reference, but I guess most of it's here:
http://developer.android.com/guide/topics/ui/layout-objects.html
Or around that area of the docs. The vertical/horizontal I think is the alignment of objects in a group. I don't think it has to do with land/port.
This looks interesting too. I just found it. It looks like a way to view layouts on the computer.
http://developer.android.com/guide/developing/tools/hierarchy-viewer.html
Click to expand...
Click to collapse
I honestly don't know what that stuff means with a headache, so I can't understand what the links refer to, sorry
It's all really disorganized or I'm just used to Microsoft docs. The xml corelates with the android classes for coding java. So xml is used sort of like html tables where everything is nested so you can have rows or collumns of buttons (horiz/vert) or menus or whatever, but the elements used are all the members of the android class. It's just so hard to find the meaning of each one.
CuriousTech said:
It's all really disorganized or I'm just used to Microsoft docs. The xml corelates with the android classes for coding java. So xml is used sort of like html tables where everything is nested so you can have rows or collumns of buttons (horiz/vert) or menus or whatever, but the elements used are all the members of the android class. It's just so hard to find the meaning of each one.
Click to expand...
Click to collapse
Crap 10char