[Galaxy Y GT-S5360 General] PineappleOwl:
Good day fellow, I am here again with some new guide.

People want the message skin and gray is boring. So lets make something new. :D As far as i know, there is no guide of this, as I searched for a guide to "Message background" and I dont see any. I dont know the right term/title for this but see the screenies. :D That will describe most.

Disclaimer:

Requirements:

Instruction:

1. Decompile your Mms.apk

2. Now I think you made the Message Skin enabled already but if its not do this first, here. (No MMS Convert No contact Limit Sent Time aren't compulsory)

3. Now you are finish with the message skin chooser so we gonna move on to the main part.

4. Go to /smali/com/android/mms/ui/ComposeMessageActivity.smali

5. Before this

.line 6091
return-void

.line 5981
:cond_6
if-eq v0, v6, :cond_7

const/16 v1, 0x10

if-ne v0, v1, :cond_8

.line 5982
:cond_7
iget-object v1, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mSendButton:Landroid/widget/Button;

const/high16 v2, 0x4160

invoke-virtual {v1, v3, v2}, Landroid/widget/Button;->setTextSize(IF)V

goto/16 :goto_0

.line 5984
:cond_8
iget-object v1, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mSendButton:Landroid/widget/Button;

const/high16 v2, 0x4180

invoke-virtual {v1, v3, v2}, Landroid/widget/Button;->setTextSize(IF)V

goto/16 :goto_0
.end method

.method private initializeContactInfo()V

add this,

[COLOR="Red"].line 6062
:cond_5
invoke-direct {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->setMessageSkinToBody()V[/COLOR]

Remider : The background will have no effect if, the blue text below have "cond_5". Delete it, it is necessary.

If cant understand what I am sayin, do this

Turn this

.line 6091

cond_5

return-void

to this

.line 6091

return-void

So it will be like this,

iput-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mAttachmentLayout:Landroid/widget/LinearLayout;

[COLOR="Red"].line 6062
:cond_5
invoke-direct {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->setMessageSkinToBody()V[/COLOR]

[COLOR="Blue"].line 6091
return-void[/COLOR]

.line 5981
:cond_6
if-eq v0, v6, :cond_7

const/16 v1, 0x10

if-ne v0, v1, :cond_8

.line 5982
:cond_7
iget-object v1, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mSendButton:Landroid/widget/Button;

const/high16 v2, 0x4160

invoke-virtual {v1, v3, v2}, Landroid/widget/Button;->setTextSize(IF)V

goto/16 :goto_0

.line 5984
:cond_8
iget-object v1, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mSendButton:Landroid/widget/Button;

const/high16 v2, 0x4180

invoke-virtual {v1, v3, v2}, Landroid/widget/Button;->setTextSize(IF)V

goto/16 :goto_0
.end method

.method private initializeContactInfo()V

6. Below

.method public static setIsHideExplict(Z)V
.locals 0
.parameter "hide"

.prologue
.line 7798
sput-boolean p0, Lcom/android/mms/ui/ComposeMessageActivity;->isHideExplict:Z

.line 7799
return-void
.end method

Add this method

[COLOR="Red"].method private setMessageSkinToBody()V
.locals 3

.prologue
.line 7493
invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getApplicationContext()Landroid/content/Context;

move-result-object v0

invoke-static {v0}, Lcom/android/mms/ui/MessagingPreferenceActivity;->getMessageSkin(Landroid/content/Context;)I

move-result v0

.line 7494
invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getResources()Landroid/content/res/Resources;

move-result-object v1

invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

move-result-object v1

iget v1, v1, Landroid/content/res/Configuration;->orientation:I

const/4 v2, 0x2

if-ne v1, v2, :cond_0

const/4 v1, 0x1

.line 7496
:goto_0
packed-switch v0, :pswitch_data_0

.line 7517
:goto_1
return-void

.line 7494
:cond_0
const/4 v1, 0x0

goto :goto_0

.line 7499
:pswitch_0
iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;

if-eqz v1, :cond_1

const v1, 0x7f020181

:goto_2
invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V

goto :goto_1

:cond_1
const v1, 0x7f020180

goto :goto_2

.line 7503
:pswitch_1
iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;

if-eqz v1, :cond_2

const v1, 0x7f020183

:goto_3
invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V

goto :goto_1

:cond_2
const v1, 0x7f020182

goto :goto_3

.line 7507
:pswitch_2
iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;

if-eqz v1, :cond_3

const v1, 0x7f020185

:goto_4
invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V

goto :goto_1

:cond_3
const v1, 0x7f020184

goto :goto_4

.line 7511
:pswitch_3
iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;

if-eqz v1, :cond_4

const v1, 0x7f020187

:goto_5
invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V

goto :goto_1

:cond_4
const v1, 0x7f020186

goto :goto_5

.line 7496
:pswitch_data_0
.packed-switch 0x1
:pswitch_0
:pswitch_1
:pswitch_2
:pswitch_3
.end packed-switch
.end method[/COLOR]

7.Next, After this code

invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

move-result-object v0

.line 3602
if-eqz v0, :cond_4

.line 3603
invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z

.line 3609
:cond_4
iget-boolean v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mIsKeyboardOpen:Z

invoke-direct {p0, v0}, Lcom/android/mms/ui/ComposeMessageActivity;->onKeyboardStateChanged(Z)V

add this

[COLOR="Red"].line 3440
invoke-direct {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->setMessageSkinToBody()V[/COLOR]

So it will be like this,

invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

move-result-object v0

.line 3602
if-eqz v0, :cond_4

.line 3603
invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z

.line 3609
:cond_4
iget-boolean v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mIsKeyboardOpen:Z

invoke-direct {p0, v0}, Lcom/android/mms/ui/ComposeMessageActivity;->onKeyboardStateChanged(Z)V

[COLOR="red"].line 3440
invoke-direct {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->setMessageSkinToBody()V[/COLOR]

.line 3614
return-void

8. Save it. Recompile and push/flash. :D

Note:

Happy modding.! :)

SS:

​

Credits to this man for following his mms.apk: