Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Atrixx
Old
#1  
Atrixx's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 144
Join Date: Jul 2009
Location: Melbourne
Question Theming the MMS Background

Hey guys,
I was wondering whether it's possible to add an image as the background when you theme the default messaging app?
I've been told it's possible, but nobody's told me how..

So if anyone's able to shed some light on it, that would be much appreciated

Cheers,
Galaxy Nexus

HTC One X
MIUI | Faux Kernel | Infamous Hardware Fault

Motorola Atrix 4G
Built from Turl & Joker's CM9 | Faux kernel | Noop | Aggressive Memory | Kernel Tweaks | 4096kb SD card cache | UV | .37 Radio
 
kevinjgray88
Old
#2  
kevinjgray88's Avatar
Senior Member
Thanks Meter 105
Posts: 511
Join Date: Mar 2012
Location: Wisconsin
Yeah im sure it's possible just by changing some image files, but im not out much use in that category. If you want to take the easy way out I think go SMS or one of the third party SMS apps give you that option

Jellin' like a felon
 
Atrixx
Old
#3  
Atrixx's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 144
Join Date: Jul 2009
Location: Melbourne
Yeah, I thought about it and I've been modding android for a while, but never really looked into theming until now. I know all the standard changing colours and such, but i'm not so familiar with adding in content.
Galaxy Nexus

HTC One X
MIUI | Faux Kernel | Infamous Hardware Fault

Motorola Atrix 4G
Built from Turl & Joker's CM9 | Faux kernel | Noop | Aggressive Memory | Kernel Tweaks | 4096kb SD card cache | UV | .37 Radio
 
artvandelay440
Old
#4  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
Hey man- i'll be sure to show you how- i forgot earlier and i'm exhausted at the moment. Tomorrow, i'll post some steps. Pretty easy actually.
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
The Following User Says Thank You to artvandelay440 For This Useful Post: [ Click to Expand ]
 
artvandelay440
Old
#5  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
you'll need to edit some xmls. (This is off the top of my head)

conversation_list_screen.xml
change line 4

Code:
android:background="#ffffffff"
to

Code:
android:background="@drawable/your_image"
create an image for your background and place it in the drawables-xhdpi folder. Name it whatever you want but make sure it matches the code above where it says 'your_image'


conversation_item_xml
you want this to be transparent, so your image behind it will show.

make sure at line 2, the background is set to this:

Code:
android:background="#00000000"

message_list_item_send.xml
Set the linear layout at line 8 to transparent. Make sure the background is set to
#00000000.
Do the same thing for the time stamp at line 14.

message_item_list_recv.xml
Set the linear layout at line 8 to transparent. Make sure the background is set to
#00000000.
Here, the timestamp is at line 11. make it transparent too.

This should take care of all the transparencies. Text colors can be altered here too if you need. Try it out and post some screens!
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
The Following User Says Thank You to artvandelay440 For This Useful Post: [ Click to Expand ]
 
Atrixx
Old
#6  
Atrixx's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 144
Join Date: Jul 2009
Location: Melbourne
Thankyou so much!

I'm just heading off to bed now, but you've been more than helpful. I'll try it out in the morning and post results
Galaxy Nexus

HTC One X
MIUI | Faux Kernel | Infamous Hardware Fault

Motorola Atrix 4G
Built from Turl & Joker's CM9 | Faux kernel | Noop | Aggressive Memory | Kernel Tweaks | 4096kb SD card cache | UV | .37 Radio
 
stumpy352
Old
#7  
stumpy352's Avatar
Senior Member
Thanks Meter 845
Posts: 931
Join Date: Sep 2011
Quote:
Originally Posted by artvandelay440 View Post
you'll need to edit some xmls. (This is off the top of my head)

conversation_list_screen.xml
change line 4

Code:
android:background="#ffffffff"
to

Code:
android:background="@drawable/your_image"
create an image for your background and place it in the drawables-xhdpi folder. Name it whatever you want but make sure it matches the code above where it says 'your_image'
Can you alternately point it to an image in framework, say for instance, background_holo_dark.png?

.....memoirs of a flash addict.
 
artvandelay440
Old
#8  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by stumpy352 View Post
Can you alternately point it to an image in framework, say for instance, background_holo_dark.png?

.....memoirs of a flash addict.
Yep- that's what 99% of all "dark mms" mods do. Only thing you change is instead of conversation_list_screen line 4 redirecting to your own image, make the background #00000000 as well. Also, make sure in styles.xml, your parent theme is theme.holo
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods
The Following User Says Thank You to artvandelay440 For This Useful Post: [ Click to Expand ]
 
stumpy352
Old
#9  
stumpy352's Avatar
Senior Member
Thanks Meter 845
Posts: 931
Join Date: Sep 2011
Quote:
Originally Posted by artvandelay440 View Post
Yep- that's what 99% of all "dark mms" mods do. Only thing you change is instead of conversation_list_screen line 4 redirecting to your own image, make the background #00000000 as well. Also, make sure in styles.xml, your parent theme is theme.holo
Ah, I think I get it. So the mms background will be transparent, and will instead be able to see the parent theme behind. Is that right? Can you also change the parent to theme.holo.light?

.....memoirs of a flash addict.
 
artvandelay440
Old
#10  
artvandelay440's Avatar
Recognized Themer
Thanks Meter 1094
Posts: 1,404
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by stumpy352 View Post
Ah, I think I get it. So the mms background will be transparent, and will instead be able to see the parent theme behind. Is that right? Can you also change the parent to theme.holo.light?

.....memoirs of a flash addict.
Yes, and yes.

Sent from my Nexus 7 using Tapatalk 2
Try Copy, as opposed to Dropbox. Better, IMO:
https://copy.com?r=iXPemk

Follow me on Twitter for the most up to date info: https://twitter.com/#!/ArtVandelay440
My website with all the goods

The Following User Says Thank You to artvandelay440 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
background, mms, theme
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...