framework question...

Thanks dude. If my hair wasn't so damn short I'd be pulling it right now.. lol


Ive been there.It's like you change a png thinking it should work,push it to your phone and nothing happens.Hang in there one day you'll be like that png is there and that one there.lol.
 
Ive been there.It's like you change a png thinking it should work,push it to your phone and nothing happens.Hang in there one day you'll be like that png is there and that one there.lol.

lol dude I'm gonna have so many random pink **** popping up it's not even funny. I hope I do get that knowledgeable. I catch on stuff pretty fast, once I know where it is, I'll remember... It's finding it that's a puta lol
 
I figured it out!!! (mostly) I've been trying to figure out how to actually modify the dialer itself. Like the numbers, background and colors of the numbers. Apparently in htc's great wisdom, they changed the dialer from images to XML. So Vaelek helped me out a lot earlier. He had me download apktools so I can view the xml documents and gave me a good run down of the ins and outs of what I was looking at. Well after some digging around I found out that to theme the dialer you kind of have to go all over the place. Not TOO crazy though... Turns out the only images that you can edit (or really need to), are the following:

In the com.htc.resources\res\drawable-hdpi:

htc_pin_asset_pressed
htc_pin_asset_rest
htc_pin_icon_pound
htc_pin_icon_star

In HtcDialer\re\drawable-hdpi:
htc_pin_icon_record_sp

Here comes the tricky part. And I'm not 100% sure what to do. I found in the HtcDialer\res\layout-finder\htc_dialer_keypad.xml . I'm not 100% sure, but it seems that's where the font and placement code for the actual numbers and letters are. However, I can't seem to find the XML that's does the code for the color. That's actually all I want to change, I don't want to change the font, just the color of the numbers and letters. Trying to have a black background with white lettering at rest, and the opposite when pressed.. Since I haven't figured out where the color coding is at, I did this in the meantime...

Dialer1.png
Dialer2.png
 
Last edited:
  • Like
Reactions: beezy
Great job finding that all out.they did one great job at completely making it a pain.Is there a default.xml in there with the keypad.xml? Knowing they way they did things the xml to edit color is probably in the weather widget.lol
 
lmao.. ill check now. It pisses me off because this is the **** they waste time with when it comes to updates. I mean granted, they were the first ones to release 2.2, but wtf?! It could have been released way earlier than it did if they were't ****ing around with this nonsense. It was completely unnecessary to do all this. Bastards lol...

Edit: Nope. Nothing named default in there. Btw, this is what that htc_dialer_keypad.xml looks like: (continues further down if you scroll in the file)

IMAG0479.jpg
 
Last edited:
I agree they did change somethings that they didn't need to waste their time on.Like the dialer,they probably saved less then a mb changing it to xml instead of leaving it pngs.Still you've made a lot of progress in a short amount of time.
 
I came across this [MOD] Custom Black HTC Dialer w/ ability to define unique font for Dialer ONLY - HTC Developers . I pulled it apart, but I can't find where the hell he changed the color for the numbers and letters! GRR! Been searching for almost 3 hours :(


"So, in ripping apart the 2.2 HtcDialer, I was able to modify code and XML to get the dialer to a point where it looks pretty darn similar to the black dialer I was running previously, including moving the letters and numbers up to the same line (stock is vertical, numbers on top of letters), adjust spacing, font colors, font sizes, etc."

So obviously what I'm looking for is in the HtcDialer.apk.. but where!!

Edit HtcDialer\res\color\dialer_button_text.xml I'm thinking this is it. Gonna edit and give it a shot.

Edit 2 Not sure if I did something wrong, or it's not the file, but didn't work... sigh...
 
Last edited:
:mad: Throwing in the towel with the htc dialer. This is ridiculous. I've literally spent hours trying to figure it out. I'm done. I can't find where to change the font color for the numbers. I have everything else set, I just need the xml to edit the font color. Screw it. Gonna go edit the AOSP dialer. I don't like it much, but don't have much of a choice. Damn you htc for your useless changes...
 
Finally!!!!!!!!!!!!!!!!!!

BlackDialer.png
BlackDialer2.png


Edit: Fail on my part. I thought I had shot out a thanks for the layout to JsChiSurf from XDA but apparently I didn't. Soo.. HUGE thanks for JsChiSurf from XdA for the layout... Just want to make it clear, literally everything else was edited and done by me. The only thing I took from JsChiSurf was the layout of the numbers/letters.
 
Last edited:
Looks nice. and at least you already know where the files are for the images then, right? for the AOSP dialer i mean.
 
Well it turns out that the reason HTC did this nonsense, is because of google. The AOSP is the same way. So in theory I just have to go to the same files in the AOSP one and make the same changes. I'm gonna give that a shot at some point. Not now though. Now that this headache is done I wanna finish up on some other stuff in the theme.
 
Anyone know the adb pull command for the sense people apk?


Edit: LOL beezy you're like Houdini. Big thanks
 
Anyone know the adb pull command for the sense people apk?


Edit: LOL beezy you're like Houdini. Big thanks

Haha thanks man Im just glad you picked this stuff up and keep pumpin out some amazing stuff.
 
Finally!!!!!!!!!!!!!!!!!!

BlackDialer.png
BlackDialer2.png
What files did you edit to re-arrange the Numbers / Letters, and how did you go about editing the .9 pngs for the top / bottom border? You mentioned you got it, but didn't mention how.

Or, did you just grab the dialer posted on XDA?
 

Trending Posts

Forum statistics

Threads
957,923
Messages
6,974,951
Members
3,163,939
Latest member
BOb_marley