Identify this framework file - myTouch 3G Slide Q&A, Help & Troubleshooting

So i was modifying my framework-res and and upon replacing it, i came upon this problem. I cannot figure out which file it is causing the text field to look like this. as far as i can tell, this only happens in the contacts fields as shown in the screenshot but it may be happening in other fields as well.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i've attached the files im having problems with. maybe someone can help me change these from hdpi to mdpi. i tried resizing them by reducing to 66% and using themeporter but it didnt work

lilshortwun said:
So i was modifying my framework-res and and upon replacing it, i came upon this problem. I cannot figure out which file it is causing the text field to look like this. as far as i can tell, this only happens in the contacts fields as shown in the screenshot but it may be happening in other fields as well.
edit: nvm i think i found it. it must be the textfield.9.png files. it seems that it didn't resize correctly
Click to expand...
Click to collapse
Yeah 9patches are a pain in the ass. Why were you trying to resize them anyway?
Sent from my T-Mobile myTouch 3G Slide

i wanted a new theme so i'm trying to port the one from the samsung fascinate. everything i wanted turned out good except this textfield 9patch. I've tried everything but it doesn't turn out correctly. any advice for me?
so far, i've replaced the default textfield 9patches so the above screenshot should be looking fine. But i'm having problems with the textfield_selected.9.png and textfield_press.9.png. i've tried the hdpi to mdpi using themeporter and one other program but it produced the same results as resizing it.

lilshortwun said:
i wanted a new theme so i'm trying to port the one from the samsung fascinate. everything i wanted turned out good except this textfield 9patch. I've tried everything but it doesn't turn out correctly. any advice for me?
so far, i've replaced the default textfield 9patches so the above screenshot should be looking fine. But i'm having problems with the textfield_selected.9.png and textfield_press.9.png. i've tried the hdpi to mdpi using themeporter and one other program but it produced the same results as resizing it.
Click to expand...
Click to collapse
It doesn't look any different from the stock textfields, why not just keep the stock ones?
Yeah if you try to screw with/resize 9patches in any way it tends to screw them up. The 9patch data isn't visible after the APK is compiled, so you have to decompile both APKs, which will make the 1 pixel wide black markers on the border of the 9patch visible. THEN resize/port/do whatever to it, then save it and make sure that the black markers are still on the outside then recompile the APK that you will be using in the end. IE, decompile both, edit and copy over what you need from the fascinate APK to the slide APK and then recompile. I use apktool to decompile and recompile, and apkmanager to sign it.

MusicMan374 said:
It doesn't look any different from the stock textfields, why not just keep the stock ones?
Yeah if you try to screw with/resize 9patches in any way it tends to screw them up. The 9patch data isn't visible after the APK is compiled, so you have to decompile both APKs, which will make the 1 pixel wide black markers on the border of the 9patch visible. THEN resize/port/do whatever to it, then save it and make sure that the black markers are still on the outside then recompile the APK that you will be using in the end. IE, decompile both, edit and copy over what you need from the fascinate APK to the slide APK and then recompile. I use apktool to decompile and recompile, and apkmanager to sign it.
Click to expand...
Click to collapse
ok ill give it a try. yeah the default textfields look the same but when you press it, it highlights a bluish color which goes with the rest of the theme that's why i wanted to do it.
edit: That was it! Thanks man. I had to decompile before i can resize. It's working perfectly now

lilshortwun said:
ok ill give it a try. yeah the default textfields look the same but when you press it, it highlights a bluish color which goes with the rest of the theme that's why i wanted to do it.
edit: That was it! Thanks man. I had to decompile before i can resize. It's working perfectly now
Click to expand...
Click to collapse
Awesome! Glad it worked.
Sent from my T-Mobile myTouch 3G Slide

Related

[Q] Themers Please help - Which xml in the dialer governs the text and shadow colors?

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm looking to edit the the number colors and their shadow colors on my numeric buttons, but, I don't know which xml it's in, and don't want to change out 5 one by one to test and see. If anyone knows that'd be great.
What I hate about this apk, is that the text and shadow color for the call button are made blatant in one of the xmls, and the text color for the call buttons is like where's waldo.
You mean like this?!?!?!?
literally just finished this mod. high xml mod count until found it. >.<
To complete this mod you use apktool to decompile HtcDialer.apk.
Once there, in the values folder, there will be a file called styles.xml.
Inside styles.xml on line 194 starts the settings for the dialer buttons.
Change the text color on line 196 from black (color_0_0_0) to white (color_255_255_255).
A bit further down on line 200 is the shadow color. Flip that from white to black. Or whatever if you want red highlight.
Before you finish, there is another set you have to change for the "zero" button. Line 218.
From here you can change the letters on the dialer buttons as well. I think you can take it from there.
Then just save the file, rebuild with apktool, drop your other pngs in there, and sign.
Clear dalvik cache, flash, and you are good to go!
Remember when I asked this? LOL so much trial and error but finally WIN!
I don't remember you asking or anything, but thanks.
Another question. After I recompile this to push it through, do I sign it?
Yes you will have to sign the apk. If you look in the built apk, it is missing the meta inf folder. In turn, missing certs.
_Burst_ said:
You mean like this?!?!?!?
literally just finished this mod. high xml mod count until found it. >.<
Click to expand...
Click to collapse
Can you post your zip or files? I really like the black
Hey burst, my next questiois, where do I mod the colors for the star and pound signs? I got the number and 0 buttons how I want them but it didn't edit those two
Sent from my PC36100 using Tapatalk
TJDuckett said:
Hey burst, my next questiois, where do I mod the colors for the star and pound signs? I got the number and 0 buttons how I want them but it didn't edit those two
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
They are pngs in HTC res.
Theme is already released but I have a couple more things to change.
Known as PlurStarAlpha.
http://forum.sdx-developers.com/evo-theme-files/(burst)-plurstar-test/
NICE JOB _Burst_ .... I have been searching for that
Thanks
_Burst_ said:
They are pngs in HTC res.
Click to expand...
Click to collapse
Thanks. blahblahblah+10
Muuuuch better:
nice.
voicemail icon is a png also.
On to the next project!
_Burst_ said:
nice.
voicemail icon is a png also.
On to the next project!
Click to expand...
Click to collapse
Why would you not say where the png is located? That'd actually help
Sent from my PC36100 using Tapatalk
Since burst has "dissapeared", is there anyone who knows where the png for the voicemail icon under the number one is?
TJDuckett said:
Since burst has "dissapeared", is there anyone who knows where the png for the voicemail icon under the number one is?
Click to expand...
Click to collapse
Lol. You want me to spoon feed you everything?
I think the png is in the dialer apk. If not that then phone. Aren't you a themer/dev?
I'll be expecting part of your donations if you want to talk to me like that.
_Burst_ said:
Lol. You want me to spoon feed you everything?
I think the png is in the dialer apk. If not that then phone. Aren't you a themer/dev?
I'll be expecting part of your donations if you want to talk to me like that.
Click to expand...
Click to collapse
So, "spoon feeding" is giving an answer that isn't halfassed? As in, why even say it's a png (which is obvious, since it isn't text) if you're not going to say where it's at?
Thank you though. Found it a while ago (Thanks RIPTIDE9), and probably should've edited the post.
And sure, u can have all of my current donations (paypals a whoppin' $0 to ur account)
Anyways, I'm a themer, but this is also my first theme, and it's not even done yet, so, I'm learning as I go. Your help in this thread is awesome and really appreciated.
Now, here's a doozy:
What xml in the phone apk do I edit to govern how the dialer text colors are in THERE? Bc, it's the dialer pad buttons are still default colors during calls.
I don't know. Nice catch though. Gonna have to look into that.

[Q] Redesigning Dialer on JVQ, help needed

Hello guys,
I'm designed simple Dialer for my ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've redesigned everything except I am not able to change Dialer Top Panel's Blue color and black foreground. Can anyone help me?
Rahulrulez said:
Hello guys,
I'm designed simple Dialer for my ROM
I've redesigned everything except I am not able to change Dialer Top Panel's Blue color and black foreground. Can anyone help me?
Click to expand...
Click to collapse
They are located in the twframework-res.apk. Off the top of my head they are called tw_tab_xx pngs....
shoman94 said:
They are located in the twframework-res.apk. Off the top of my head they are called tw_tab_xx pngs....
Click to expand...
Click to collapse
Hmm, I am confused.. I don't know which PNG to be edited ;(
I tried editing few of PNGs over here but it didn't worked..
Comee on guys help rah with this.. need it for updating his rom!
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
isn't it coded in xml files of contacts/dialer app or touchwiz?
by the way, the button "1" looks like being a bit higher than the others in that line (or is that on purpose?)
picard666 said:
isn't it coded in xml files of contacts/dialer app or touchwiz?
by the way, the button "1" looks like being a bit higher than the others in that line (or is that on purpose?)
Click to expand...
Click to collapse
Actually, I am adding voice mail icon under 1 Dialer is still under design.
btw which pngs did you edit for the purpose?
picard666 said:
btw which pngs did you edit for the purpose?
Click to expand...
Click to collapse
PNGs from DialerTabActivity.apk and twframework-res.apk (PNG starting from tw_tab_......png and nine patches also)
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
it's in contacts.apk, you have to edit xml file and change the color parameters to whatever you like, forgot wich xml, do a file compare with another modded one and you will find out...
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
tw_tab_selected_bar_left.9.png
tw_tab_selected_bar_right.9.png
tw_tab_unselected.9.png
tw_tab_unselected_ss.9.png
in DialerTabActivity.apk
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
I can help you tomorrow night or tonight depending how you look at it. I'm on EST time zone. Probably after 8pm if nobody helps you by then.
PS... It's not in contacts.apk.
sent from my continuum powered captivate on tapatalk....
Pss..... I believe the image you want to make transparent is "dialer_tab_button_bg_normal.png" located in the dialer apk.
The blue line under it is in twframework-res.apk. Called tw_tab_ss_unselected.png I think. I can't remember off the top of my head.
Hope this helps you.
I really like this and I want it too..!!
In what theme will you use this?? And will you post it here when you are finished??
Tnx in advance
Sent from my GT-I9000 using XDA Premium App
Finally managed to fix it
Thanks all for helping me

[REQUEST] Mms.apk without contact pictures

I just spent a few hours trying (decompiling, extracting, etc), but I suck. I tried blacking out the .png and replacing it, but it doesn't look very good. I'm sure somebody out there hates contact pics as much as me
Anyone know of a way to remove the contact picture and set the text to the left side of the screen. Check out the pic if you don't understand. Thanks in advance.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First and final bump. Maybe I can get some night-time love for my idea.
I'm gonna try again tomorrow, but I can NEVER re-compile apps. I'll figure it out though.
i would be into this idea, too!
I like this idea.
Sent from my Galaxy Nexus using xda premium
Would be awesome.. I dont sync my contacts pictures anyways so..
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
EDIT: Here's the Mms.apk I'm using. Got it from the amazing 'Black Exodus' theme by Nitroz. Maybe someone can take a whack at it.
http://www.mediafire.com/?4g43b8ac3x0b9jq
number3pencil said:
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
Click to expand...
Click to collapse
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
This is what i want! Thank you!
artvandelay440 said:
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
Click to expand...
Click to collapse
THANK YOU SO VERY MUCH!!!!! I will try this right now. I'm not a coding noob, but it would have taken HOURS for me to figure this out.
hopefully I will be able to recompile using apk-multitool. For some reason the recompiling part always throws errors. THANKS AGAIN
No problem. Post the log if you get compile errors.
Sent from my Galaxy Nexus using xda premium
I got it working perfectly, thanks again. Two quick questions though. I know you will be able to answer them.
1) How would I remove the borders around the sent and recieved messages? I included a screenshot.
EDIT: Damn, I have looked everywhere. I figured the easiest way to to do this would be to just change the color of the border to all black (#000000), but there are two different colored borders and I can't find anything referencing them in message_list_item_... or in colors.xml
2) When I push Mms.apk to system/app it does overwrite the previous apk, but it doesn't show up in the app drawer. What I had to do to install my modded apk was to replace the Mms.apk in the flashable zip I use as a theme. Specifically black exodus. I'm sure there is a way to just quickly replace the Mms.apk without flashing. How do you do it?
Once I remove the borders I will upload the apk. I wouldn't care if you posted it in your thread. You don't even need to give me credit since you basically did everything .
Thanks again for ALL your help.
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
artvandelay440 said:
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
Click to expand...
Click to collapse
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
number3pencil said:
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
Click to expand...
Click to collapse
No it isn't necessary. For me, as soon as i push it through adb, it appears in the drawer and is ready to go. You might ask Nitroz as to why this isn't working with a theme overlay, since it's his theme.
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Download links
number3pencil said:
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Click to expand...
Click to collapse
Does anyone have these apk files, the download links are no longer working

[REQUEST] Sense 4.0 MMS Theme

I know nothing about theming but would LOVE to see a theme that makes the AOSP MMS look like the MMS on the One X. If anyone could do this or has a link to one that already works for our ATT GS3 I'd appreciate it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks!
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
dante2512 said:
I know nothing about theming but would LOVE to see a theme that makes the AOSP MMS look like the MMS on the One X. If anyone could do this or has a link to one that already works for our ATT GS3 I'd appreciate it!
Thanks!
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
+1
Are you sure its from the One X? Maybe the messaging apk can be pulled. I'm trying to find these images myself.
Doubt that the HTC MMS app would work without the sense framework. Found some themes for the older Galaxy Nexus touchwiz MMS and one looks nearly identical to this one but it doesn't work. I'm all for theming the touchwiz MMS as I love the lock screen notifications and am not a fan of any of the aftermarket MMS apps.
Here's Something I've been tinkering around with an am currently using. I'm still trying to figure out how to get the blue from the HTC theme better aligned on the left side so if anyone can assist I'd greatly appreciate it. Anyway, these are all in a modified SecMms.apk which I'll upload if anyone's interested. I also added that white background as a choice.
P.S. Please be aware that this is a rough hack so maybe someone could help me clean up the file a little. I'm just an intermediate modder who just like to see modest theme options.
Extra Note: I had to rar the file in order to upload it due to the forum size limits for uploads. Just extract the apk.
Upload your SecMms.apk and I'll decode it and see if I can help correct the alignment.
ibanezbass said:
Upload your SecMms.apk and I'll decode it and see if I can help correct the alignment.
Click to expand...
Click to collapse
Done.
Okay, here's what I'm thinking. You have a message_skin_bubble.xml and message_bubble_activity.xml under res/layout/. I'm not real familiar with Android system layout, but I would think one of these two, or both would control text layout in the bubble. There's a line in message_bubble_activity: "gallery_receive_vertical" android: paddingLeft="10.0dip"", try changing 10.0dip to... say, 12.0? And if that isn't it, try in message_skin_bubble, change "android:layout_marginLeft="9.0dip" />" to say 11.0dip?
I'm going on a limb from just glancing at it and not really sure if that's the controlling xmls. I'm having trouble rebuilding the apk or I'd test it myself. I'll see what I can do when I get home. :laugh:
Sounds good. Although, so far, I only changed the images by opening the .apk. I didn't decompile or recompile. I simply took images from other devices that I've owned or found on xda and swapped and renamed image files. They worked on all of them except for the blue htc bubble in the first image.
pro_b said:
Sounds good. Although, so far, I only changed the images by opening the .apk. I didn't decompile or recompile. I simply took images from other devices that I've owned or found on xda and swapped and renamed image files. They worked on all of them except for the blue htc bubble in the first image.
Click to expand...
Click to collapse
Well thinking more about it, if my suggestion did skew the text, which it may or may not, it will also skew the text in every bubble which we don't want... perhaps I can edit the original blue bubble image to allow the text to center.
That would be great. I tried doing it in Photoshop. I no PS expert but I'm ok so maybe there is something I'm missing. The png file would look fine and would save ok but the image would become stretched in the actual mms app.
is there anyway to add emoji support to it?

Message Bubbles

I was able to decompile and recompile the Message.apk using the GUI APK tool here and some help from the members
My spacing is a little off with the text being too much on the left and not enough space inbetween the outgoing messages and the incoming messages. You will see what I mean.
I plan to making this work for all the colors they offer and hopefully being able to change some in the process. Not sure how to change the font colors yet. The background seems easy enough.
Any help on how to make this balance out would be great. I think its something about editing 9png?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once again any help would be greatly appreciated!
Good, if you need help, write me
Guich said:
Good, if you need help, write me
Click to expand...
Click to collapse
Of course I need help haha
Now need to figure out where the text colors are stored too. Anyone?
Sent from my HTC One using xda app-developers app
mrmomoman said:
Of course I need help haha
Now need to figure out where the text colors are stored too. Anyone?
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Color text is in:
Code:
res/values/colors.xml
.
I've edited this , but now i'm searching the string for the dimension of bubble
Getting closer. the spacing is almost there. A little more.
Thanks for the color location.
Funny this is the first time I really like the stock messagjng client.
Sent from my HTC One using xda app-developers app
Isn't it controlled by the black bars in the 9.png file? I am using gimp now to figure out the spacing.
Sent from my HTC One using xda app-developers app
The dimensions of bubble is setted by a string i suppose...
did you edit the bubbles labeled me or did you copy and rename the ones labeled other?
if edited did you make the 9patch match what is on the ones labeled other?as well as size?
dased14 said:
did you edit the bubbles labeled me or did you copy and rename the ones labeled other?
if edited did you make the 9patch match what is on the ones labeled other?as well as size?
Click to expand...
Click to collapse
I renamed the bubble like original .9.png icons.
But the dimensions are the same of left bubble.
Theoretically the dimensions are regolated from an xml like dimens.xml, i tried to edit it, but i have error in compiling new apk
dased14 said:
did you edit the bubbles labeled me or did you copy and rename the ones labeled other?
if edited did you make the 9patch match what is on the ones labeled other?as well as size?
Click to expand...
Click to collapse
I copied the white box 9.png to renamed it to the blue theme which is the 01.9.png one and that's how I got the white box. I was able to get it to work as in the screen shot but the spacing is not the same since the original one for the outgoing text was never auto-sized. it was a line over it and space below. But the text was always carried out to the left end and the spacing seems to be fixed.
My thought is if I copied the 9.png white box and its originally set (black bars in the 9.png ) to be on the left side then I need to flip it horizontally and vertically to get it to match the other side right?
Does that make sense?
I haven't tried that yet but I think I will.
Makes sense but probably wont work, you can try to edit the 9 in draw9patch is in android sdk tools to extend the 9patch up the left side and across the top. I'll look into the text spacing when i have a few free minutes
Sent from a Tweaked Out HTC ONE

Categories

Resources