Finally tracked this one down, and just have to share this...
This Mod was found by @EMSpilot and @Gunthermic.. emspilot found the routine, and from there we figured the rest.. Give him a big kudos..
This is a MOD for Dev's to incorperate, this is NOT an End User MOD.
I have broken this down to each part of the inversion for those that want complete control over the Full Screen KeyBoard Layout.
1. Text Color
2. Cusor Color
3. BackGround Color
4. HighLight Color
What:
Framework.jar
framework-res.apk
Decompile Framework.jar file
Add/Change
Subtract/Delete
Go to:
smali\android\inputmethodservice\InputMethodService.smali
Search for:
.method startExtractingText(Z)V
Look for this code:
1. Text Color:
Code:
iget-object v8, v2, Landroid/view/inputmethod/EditorInfo;->hintText:Ljava/lang/CharSequence;
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setHint(Ljava/lang/CharSequence;)V
Right under that is:
Code:
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
invoke-static {v8, v9, v10}, Landroid/graphics/Color;->rgb(III)I
move-result v8
invoke-static {v8}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
The above code controls the text coloring on the Text Box. You have two options:
You can change the v8, v9, v10 which is the RGB value (0x0) is Black in this case and change them to -0x1 for each one to make text color white.
The second option you can do if you want a special color without having to figure out RGB color coding is to add:
const v8, smali colorcode (for example -0xCC9934(DarkHorse Blue)) below move-result v8.. like so...
invoke-static {v8, v9, v10}, Landroid/graphics/Color;->rgb(III)I
Code:
move-result v8
[COLOR="Blue"]const v8, -0xCC9934[/COLOR]
invoke-static {v8}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
Okay the next three items are much easier:
Right under the code for Text Coloring is the rest of the Inversion and other Changes
Code:
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setTextColor(Landroid/content/res/ColorStateList;)V
const/high16 v8, -0x100 # Cusor Color
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setCursorColor(I)V
.line 3261
const/4 v8, -0x1 #Background Color
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setBackgroundColor(I)V
.line 3265
const v8, -0x86350e #HighLight Cusor Color
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setHighlightColor(I)V
Code Changes: An Example of my changes
Code:
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setTextColor(Landroid/content/res/ColorStateList;)V
[COLOR="Blue"]const v8, -0x100 [/COLOR]#Cusor Color(Yellow)
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setCursorColor(I)V
[COLOR="Blue"]const v8, -0x1000000 [/COLOR]#BackGround(Black)
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setBackgroundColor(I)V
[COLOR="Blue"]const v8, -0xCC9934[/COLOR] #HighLight Cusor Color.(DarkHorse Blue)
invoke-virtual {v1, v8}, Landroid/inputmethodservice/ExtractEditText;->setHighlightColor(I)V
Okay Save that. One more Item that needs to be done complete the Inversion!!!
framework/res/layout/input_method_extract_view.xml
Line 5 needs to be changed to complete the inversion(makes the black appear around the Send button)
Code:
<FrameLayout android:id="@id/inputExtractAccessories" [COLOR="Blue"]android:background="#ff000000"[/COLOR] android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="8.0dip" android:paddingEnd="8.0dip">
<android.inputmethodservice.ExtractButton android:layout_gravity="center" android:id="@id/inputExtractAction" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<android.inputmethodservice.ExtractButton android:layout_gravity="center" android:id="@id/inputExtractEditButton" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/extract_edit_menu_button" />
</FrameLayout>
Save and Compile framework.jar and framework-res.apk..
Score!!!!
Thanks again for this. Works perfectly
Looks interesting @Gunthermic.
Curious question though, isn't it easier to just change the xml file and png images in the SamsungIME.apk?
Or am I missing what else this is doing?
Sent from my SM-G900T using Tapatalk 2
cbucz24 said:
Looks interesting @Gunthermic.
Curious question though, isn't it easier to just change the xml file and png images in the SamsungIME.apk?
Or am I missing what else this is doing?
Sent from my SM-G900T using Tapatalk 2
Click to expand...
Click to collapse
Sure. Tell me what u changed in samsungime that gets this same thing. I will gladly take thread down if there is a better way... Never found one.
If ya dont know and just asking. Then I say from my knowledge samsungime woild pull from framework jar file..
Sent from my SCH-I545 using Xparent BlueTapatalk 2
Gunthermic said:
Sure. Tell me what u changed in samsungime that gets this same thing. I will gladly take thread down if there is a better way... Never found one.
If ya dont know and just asking. Then I say from my knowledge samsungime woild pull from framework jar file..
Sent from my SCH-I545 using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
OK well, before I get too far into things. Where does this change take effect in the system?
I edited the SamsungIME.apk to change things there. And i edited individual apks and changed things there too.
Here I changed the text colors to everything except the suggestion text.
Link up a pic where the text is changed so I can see if I changed it in the same place with an xml if ya don't mind.
An I hope you didn't take offense to my question. We've talked before, I've used your work and you definitely do a great job!
I was just curious about what this exactly did, and if I could help you then yay me for helping someone as good as you
Sent from my SM-G900T using Tapatalk 2
cbucz24 said:
OK well, before I get too far into things. Where does this change take effect in the system?
I edited the SamsungIME.apk to change things there. And i edited individual apks and changed things there too.
Here I changed the text colors to everything except the suggestion text.
View attachment 2723843
Link up a pic where the text is changed so I can see if I changed it in the same place with an xml if ya don't mind.
An I hope you didn't take offense to my question. We've talked before, I've used your work and you definitely do a great job!
I was just curious about what this exactly did, and if I could help you then yay me for helping someone as good as you
Sent from my SM-G900T using Tapatalk 2
Click to expand...
Click to collapse
Pix was posted in OP sir.
This mod is for landscape and is the text box. Not keyboard layout.
No, no offense taken.. yes we have talked before kind sir
Sent from my SCH-I545 using Xparent BlueTapatalk 2
Related
im trying to change the font color in the notification bar, how would i go about doing that?
any help would be nice.
thanks.
Search for: colorchanger.jar
Should answer all of your questions.
Or you can edit the xml file that is in framework/status_bar.xml
i'll hijack this thread with my own question. colorchange.jar only works for cyanogen's builds, and not all of us use cyanogen's. I'm trying to change the clock color to white. I know it's in services.jar, and I know that using colorchange wont help because cyanogen's is different from the stock one, so i tried editing it myself, i opened up the dex with baksmali and looked through StatusBarService.smali code but I really can't identify where or how to edit the color for it. There are so many unnamed variables so any of them could be anything, so if somebody could point out what it is I'm looking for, i could do it myself
@jubeh: check out the color changing thread.
I remember putting the two blocks in [code][/code] tags so you could do it yourself. ; )
thanks you mianosm
i saw;
Code:
Line 4115> const v8, -0x1 invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V
and
Code:
Line 86> .line 46 const/high16 v6, -0x100 invoke-virtual {v4, v7}, Landroid/widget/TextView;->setTextColor(I)V
but forgive my newbiness on this, i don't understand dalvik disassembled code, i understand java, and i understand that this code is decompiler generated variables that hardly resemble the orginal source, so I can't see where the color information is. My date color is working white, so i'm just looking to change the clock color, that would be
Code:
Line 4115> const v8, -0x1 invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V
right? would you mind explaining the parts of that line to me?
-0x1 is actually the hex variable controlling the color.
0x, and -0x just indicated that it will be a hex color, and the 1 is the shortened form.
Much like when you're working/building up a CSS you can do either:
#000000
or
#000
mianosm said:
-0x1 is actually the hex variable controlling the color.
0x, and -0x just indicated that it will be a hex color, and the 1 is the shortened form.
Much like when you're working/building up a CSS you can do either:
#000000
or
#000
Click to expand...
Click to collapse
alright, thanks, that's where it threw me off. I was looking for the full hex FF000000, so I just need to change that to whatever FFFFFFFF translates to in short hex, or can I just plug FFFFFFFF instead?
Full hex value should work - I just inverted it since it was black/white. YMMV
alright, thanks a lot
it took me a good long while, but i managed to change the clock color from black to red, i wanted it white though >.<
I just couldn't find anything resembling
Code:
const v8, -0x1 invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V
inside StatusBarService.smali. Actually, I searched the whole thing and couldn't find any instance of setTextColor anywhere. I tried several other .smali files and couldn't find anything. I ended up editing
Code:
.line 46 const/high16 v6, -0x100 invoke-virtual {v4, v7}, Landroid/widget/TextView;->setTextColor(I)V
in StatusBarIcon instead, when i set it to -0x1, and also when i set it to 0xFFFFFFFF, the clock color changed to red...
I figured out what to do by following what the colorchange jar was doing (thanks for the source, it helped A LOT), and going through it, i think it might be the other way around, the clock color is in StatusBarIcon and the Date color is somewhere else (because, again, i didn't find any setTextColor in StatusBarService). I'm editing a bone-stock services.jar based on crc1, nothing else has been done to it (no stericsson fix or other stuff, it's bone stock), so that might be why it's different, but I'm puzzled by why any change I make to the file that does seem to affect the clock changes it to red, it might be a fallback color, or maybe it's interpreting the color information i enter in a different way than i want it to, I'll keep trying different color codes, but i might just go back to cyanogen and become a measly rom and theme user instead.
You aren't going to find setTextColor - it's added by some as a java call for when it's recompiled.
You can change the variable (v8) to (v7) or (v7) to (v6) if my memory serves me correctly, I honestly do not remember.
do you remember which method this is all under?
---edit---
i edited StatusBarIcon a little more (just that one value), and tried several things, anything 0x gives me a fully translucent clock, anything -0x gives me a red clock, i don't see how it's releated, but i do see that I won't be able to change it here, but in StatusBarService instead.
I'm going to add;
const v8, -0x1 invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V
to that file, but, again, if you can remember which method it is in, that would pretty much get it done
Could you host the services.jar for me - I'll bust it up and peek at it.
Shouldn't be too tough. ; )
jubeh said:
do you remember which method this is all under?
---edit---
i edited StatusBarIcon a little more (just that one value), and tried several things, anything 0x gives me a fully translucent clock, anything -0x gives me a red clock, i don't see how it's releated, but i do see that I won't be able to change it here, but in StatusBarService instead.
I'm going to add;
const v8, -0x1 invoke-virtual {v7, v8}, Landroid/widget/TextView;->setTextColor(I)V
to that file, but, again, if you can remember which method it is in, that would pretty much get it done
Click to expand...
Click to collapse
I've been trying to do this since I ported the Hero theme to the CRB43-US rom. But every time I did something to it, it still would show it in black. I thought it was the odex files replacing the original file after my edits. I even had Ohsaka edit me one with the original framework files of the CRB43-US with still no luck. You got red, Its still progress...
mianosm said:
Could you host the services.jar for me - I'll bust it up and peek at it.
Shouldn't be too tough. ; )
Click to expand...
Click to collapse
her it is, thanks a lot for your time
RichieDaze said:
I've been trying to do this since I ported the Hero theme to the CRB43-US rom. But every time I did something to it, it still would show it in black. I thought it was the odex files replacing the original file after my edits. I even had Ohsaka edit me one with the original framework files of the CRB43-US with still no luck. You got red, Its still progress...
Click to expand...
Click to collapse
i didn't really "get" red, because it still won't change to anything but red. I think it's really a fallback font, but then that means there's got to be;
1. a definition for what the fallback color should be and
2. a proper variable to set in order to get a color other than the fallback
Push / bump
im trying to hide the bluetooth and alarm icons from the status bar. none of the previous methods from gingerbread work.
this is where i am--
in SystemUI>smali>com>android>systemui>ststusbar>policy is alarmcontroller.smali.
i edited the lines:
const-string v5, "alarmSet"
invoke-virtual {p2, v5, v6}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v2
to be:
const/4 v0, 0x0
const-string v5, "alarmSet"
const/4 v2, 0x0
this doesnt work. I need help if anybody knows how to do it.
For the bluetooth icon, i have no clue where to start looking in smali
Try:
Statusbarpolicy.smali in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy.
Then do this (which looks like what you've been doing anyway):
http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
I don't know what to do with these info either (I can't decompile Smali), just passing it along.
eiraku said:
Try:
Statusbarpolicy.smali in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy.
Then do this (which looks like what you've been doing anyway):
http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
I don't know what to do with these info either (I can't decompile Smali), just passing it along.
Click to expand...
Click to collapse
thanks but Statusbarpolicy.smali doesnt exist anymore
Oh mai.
Guess this has to do with all the 4.0.4 changes I keep on hearing about.
I'm extremely interested in doing away with my alarm icon myself, so I'll be keeping a close eye on this thread, while googling around for an answer myself.
As a stopgap measure, I found out that Sleep as Android (my alarm app) can hide the alarm icon partially. There's still a very small gap between the BT icon and the data indicator though, but oh well.
nobody? bueller. bueller.
BUMP
eiraku said:
Try:
Statusbarpolicy.smali in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy.
Then do this (which looks like what you've been doing anyway):
http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
I don't know what to do with these info either (I can't decompile Smali), just passing it along.
Click to expand...
Click to collapse
Thread has been edited and is now empty. Does anyone have another source?
In jkay mod, you have the option to hide bluetooth icon and also alarm try it out...
Sent from my GT-I9300 using xda premium
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,
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
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.
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.
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!
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
artvandelay440 said:
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'
Click to expand...
Click to collapse
Can you alternately point it to an image in framework, say for instance, background_holo_dark.png?
.....memoirs of a flash addict.
stumpy352 said:
Can you alternately point it to an image in framework, say for instance, background_holo_dark.png?
.....memoirs of a flash addict.
Click to expand...
Click to collapse
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
artvandelay440 said:
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
Click to expand...
Click to collapse
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.
stumpy352 said:
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.
Click to expand...
Click to collapse
Yes, and yes.
Sent from my Nexus 7 using Tapatalk 2
Hey guys, I'm having a little trouble with my theming, here's the error:
Code:
..Mms.apk\AndroidManifest.xml:45: error: No resource identifier found for attribute 'parentActivityName' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sean\AppData\Local\Temp\APKTOOL4227949827898671239.tmp, -I, C:\Users\Sean\apktool\framework\1.apk, -S, C:\THEMING\other\..\projects\Mms.apk\res, -M, C:\THEMING\other\..\projects\Mms.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sean\AppData\Local\Temp\APKTOOL4227949827898671239.tmp, -I, C:\Users\Sean\apktool\framework\1.apk, -S, C:\THEMING\other\..\projects\Mms.apk\res, -M, C:\THEMING\other\..\projects\Mms.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Did you modify your AndroidManifest.xml? looks like there's an error at line 45 at the parent activity name. be sure yours matches this exactly
".ui.ConversationList"
there are ways around it if you keep getting that error.
Nope, I only got that error once adding my image in, which is weird since i never touched anything apart from what was needed.
What do you thinks the best way to get around it?
Just a modification of the MMS app found at this thread: http://forum.xda-developers.com/showthread.php?t=1616499
Modified it to look like the stock Touchwiz MMS as much as possible since there really aren't any decent looking alternatives. Sure I could use Go or Handcent but I wanted the stock look.
Just replace Mms.apk in /system/app and make sure it's chmod is 644 and you should be good to go.
Update:
- Changed color scheme so that it gets colors from values/colors.xml rather than having them hard coded with Touchwiz color scheme. This way it's easier to customize the conversation list to match your theme better if you plan on decompiling and playing with it yourself. See post below for customizing message text, as it isn't quite as obvious.
- Fixed Compose icon in menu... was showing Attachment icon instead for some reason.
- Changed compose and contact buttons to better fit Touchwiz theme.
- Fixed some of the text coloring in white background mode... now it matches better.
- Fixed a nasty layout bug when downloading MMS messages. Downloading was written vertically across the right side of the bubble, taking up the whole screen... very ugly.. now it's laid out horizontally and looks much cleaner.
Can you port to stock? Seems much better than stock mms apk...
I'm not sure how to port to stock... I'm pretty new at all of this... mostly I'm just theming someone else's app for my own personal use and I decided to share it with the world in case anyone else was interested.
Also, in the old thread where the original app was posted, people were having trouble editing message text colors. I've figured this out, and it involves modifying ui/MessageListItem.smali
The following sections of code contain RGB hex values that control the incoming and outgoing text and date colors.
Outgoing text:
Code:
.line 391
new-instance v4, Landroid/text/style/ForegroundColorSpan;
const/16 v5, 0x0
const/16 v6, 0x0
const/16 v7, 0x0
invoke-static {v5, v6, v7}, Landroid/graphics/Color;->rgb(III)I
Incoming text:
Code:
.line 393
:cond_6
new-instance v4, Landroid/text/style/ForegroundColorSpan;
const/16 v5, 0x0
const/16 v6, 0x0
const/16 v7, 0x0
invoke-static {v5, v6, v7}, Landroid/graphics/Color;->rgb(III)I
Outgoing date:
Code:
.line 431
new-instance v2, Landroid/text/style/ForegroundColorSpan;
const/16 v3, 0x5e
const/16 v4, 0x5e
const/16 v5, 0x5e
invoke-static {v3, v4, v5}, Landroid/graphics/Color;->rgb(III)I
Incoming date:
Code:
.line 433
.restart local v1 #startOffset:I
:cond_2
new-instance v2, Landroid/text/style/ForegroundColorSpan;
const/16 v3, 0x5e
const/16 v4, 0x5e
const/16 v5, 0x5e
invoke-static {v3, v4, v5}, Landroid/graphics/Color;->rgb(III)I
The code for this is a little different if you use the mms.apk from the previous thread as a base. Outgoing text/date will have different hex values, and incoming won't use normal RGB values at all. It might be easiest if you want to modify one of the other ones to use my MessageListItem.smali instead.
Thanks worked like charm!
Sent from my m865 using Xparent Blue Tapatalk 2
Pretty cool, yes this is related to CM but like in Stock is there any option to add contact for multiple selection i.e add contact,recent etc. I am using a CM based rom which don't have these options.
Amrao said:
Pretty cool, yes this is related to CM but like in Stock is there any option to add contact for multiple selection i.e add contact,recent etc. I am using a CM based rom which don't have these options.
Click to expand...
Click to collapse
we can't.tried all the way but there is no option to send multiple messages on cm rom.this can be only possible on stock rom
FC when searcing
EvilKing009 said:
we can't.tried all the way but there is no option to send multiple messages on cm rom.this can be only possible on stock rom
Click to expand...
Click to collapse
Hi guys, I get FC everytime I use search on this CM7 MMS apk. why is that? Thanks. any solutions?
Can someone make this MMS.APK with Enter key please ?
Thanxs look so much pretty sugestión ... Can change the botton to send for a arrow ? Sorry for my bad english .
don't have the option "received reports" to sms :/
desde Córdoba, Argentina mil saludos
...
Nice modification, but could it be possible to add a switch that would disable sending language specific letters (with diacritic marks) and reduce them to "standard" ones?
FullScreen Call Themed
This is for DeOdexed builds ONLY!
This mod is based on the NE5 DeOdexed 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"
}
. .
. .
. .
Always a work in progress. Ported this over from the international S5 with a little help. Full credits given at the bottom.
Included the stock flashable files at the bottom of the post should you need to go back. Also included a few extra backgrounds. You can use those as a template to add your own.
Download Link --> MOAR_Rom.FullScreen_Call_V4.zip
Download Link --> NE5_DeOdexed.Stock.FullScreen_Call_V4.zip
Installation:
Backup your rom if possible.
Flash in custom recovery.
Changelog:
Code:
[B]Version - 4[/B]
- End call moved to the bottom right as default
- Fixed conference call (caller on hold) from displaying behind call buttons
- Removed toggle indicators from beneath Bluetooth, Mute and Sound buttons
[B]Version - 3[/B]
- Corrected for call info popup.
- Added back in 'Last message' & 'Last spoke' call info.
- Added and changed default fixed background
- Added and changed default fixed background thanks to BobCATROM
- Added updated icons thanks to BobCATROM
- Call info card is scrollable
- Toggles added for MOAR Rom version for upcoming new stuff update for additional features.
[B]Version - 2[/B]
- Removed 'Last Message' popup from behind bottom row.
- Text color for DTMF dialer, In-call Timer and End call screen changed to white
[B]Version - 1[/B]
- Initial Release
Adding your own custom backgrounds:
Take your downloaded image, rename it to picture_unknown.png
You may use a .jpg image. However, the image has to RENAMED to a .png first.
Make a copy of one of the Caller.ID.BG...zip files, open it with a zip file manager and insert your file into the folder vrtheme/system/app/InCallUI.apk/res/drawable-sw360dp-xxhdpi, replacing the existing one.
Additional Note:
I can't say exactly the dimensions required for the background, experiment and report back what seems to be the ideal size otherwise the phone will do its best to resize the image to fit the screen properly.
Credits:
@thanhfhuongf - For the original mod posted HERE
@lacoursiere18 - For the guide and assistance getting me on the right track.
@BoBCatRoM - Huge thanks for the use of his InCallUI theme. You can thank him properly HERE.
Guide/How-to
For additional help and tips related to this mod, refer to the original thread:
[MOD][GUIDE] Fullscreen call S5
** Extract the zip file at the bottom of the post and place the three files into your DECOMPILED InCallUI.apk file in their respective folders.
Important step:
DELETE the file:
res/drawable-sw360dp-xxhdpi/endcall_bg.9.png
The file we are replacing it with is not a .9 image so we need to remove the .9 png file so the other file will be utilized instead.
Modifying InCallUI.apk
res/values/dimens.xml change to value in BLUE:
Code:
<dimen name="call_card_height">[COLOR="Blue"]640.0dip[/COLOR]</dimen>
res/values/styles.xml make change to values indicated in BLUE:
Code:
<style name="InCallTouchUpperButton">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[COLOR="Blue"]#00000000[/COLOR]</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">14.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">2.0dip</item>
</style>
<style name="InCallTouchEndButton" parent="@style/InCallTouchUpperButton" />
<style name="InEasyCallTouchUpperButton">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[COLOR="Blue"]#00000000[/COLOR]</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">20.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">7.0dip</item>
</style>
A little further down
<style name="InCallTouchToggleButtonNoFrame">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/incall_button_text</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">18.0dip</item>
<item name="android:layout_width">1.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawableBottom">@drawable/incall_toggle_button</item>
<item name="android:layout_weight">1.0</item>
</style>
This part isn't much fun but the results are worth it.
res/values/colors.xml change ALL these values; they are not all consecutive.
Also, replace the entire lines highlighted in RED:
Code:
<color name="incoming_call_image_widget_background">#00000000</color>
[COLOR="Red"]<color name="incall_screen_background">#00000000</color>
<color name="cover_background">#00000000</color>
[/COLOR]<color name="incall_call_banner_background">#00000000</color>
<color name="incall_call_banner_background2">#00000000</color>
<color name="incall_call_banner_in_call_background">#00000000</color>
<color name="incall_call_banner_end_call_background">#00000000</color>
<color name="incall_call_state_label_background">#00000000</color>
<color name="incall_secondary_info_background">#00000000</color>
<color name="endcall_yellow_button_bg">#00000000</color>
<color name="endcall_green_button_bg">#00000000</color>
[COLOR="Red"]<color name="incall_call_button_background">#00000000</color>
[/COLOR]<color name="incall_call_button_background_qcif_video">#00000000</color>
[COLOR="Red"]<color name="dialpad_background">#00000000</color>
<color name="dtmf_dialer_display_background">#00000000</color>
[/COLOR]<color name="manage_conference_background">#00000000</color>
<color name="button_background">#00000000</color>
<color name="tutorial_background_color">#00000000</color>
<color name="tutorial_tab_background">#00000000</color>
<color name="tutorial_image_unknown_background">#00000000</color>
[COLOR="Red"]<color name="vt_dialpad_background">#00000000</color>
[/COLOR]<color name="circle_time_progress_background">#00000000</color>
<color name="incall_call_banner_background_covered">#00000000</color>
<color name="incall_call_banner_background2_covered">#00000000</color>
<color name="incall_call_banner_in_call_background_covered">#00000000</color>
<color name="incall_call_banner_end_call_background_covered">#00000000</color>
<color name="incall_call_banner_active_bg">#00000000</color>
<color name="incall_call_banner_disconnect_bg">#00000000</color>
<color name="incall_call_banner_incoming_bg">#00000000</color>
<color name="incall_call_banner_onhold_bg">#00000000</color>
<color name="incall_call_state_active_bg">#00000000</color>
<color name="incall_call_state_disconnect_bg">#00000000</color>
<color name="incall_call_state_incoming_bg">#00000000</color>
<color name="incall_call_state_onhold_bg">#00000000</color>
<color name="incall_button_bg">#00000000</color>
<color name="invtcall_call_banner_active_bg">#00000000</color>
<color name="invtcall_call_banner_incoming_bg">#00000000</color>
<color name="invtcall_call_state_active_bg">#00000000</color>
<color name="invtcall_call_state_incoming_bg">#00000000</color>
<color name="popup_button_bg">#80000000</color>
<color name="incall_mw_call_card_background">#00000000</color>
<color name="drivelink_incall_call_banner_active_bg">#80000000</color>
<color name="drivelink_incall_call_banner_disconnect_bg">#80000000</color>
<color name="drivelink_incall_call_banner_incoming_bg">#80000000</color>
Fix the spacing between caller number, DTMF dialpad and pressed numbers (like when you need to dial an extension). If you're having overlap issues with caller number and dialpad pressed numbers.
res/layout/dialpad_twelve_fragment.xml
Add new code and change the value in BLUE. Yours might have to be slightly different number according to your layout.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/dtmf_twelve_key_dialer_view" android:background="@color/transparent" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/dtmf_twelve_key_dialer_view_height" android:layout_marginTop="@dimen/dtmf_twelve_key_dialer_view_top" android:layout_marginBottom="@dimen/dtmf_twelve_key_dialer_view_bottom"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/dtmfDialerFieldContainer" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="@color/dtmf_dialer_display_text" android:id="@id/dialpad_elapsed_time" android:background="@color/dtmf_dialer_display_background" android:layout_width="fill_parent" android:layout_height="@dimen/callstate_container_height" style="@style/InCallElapsedTime" />
<EditText android:textSize="46.0sp" android:textColor="@color/dtmf_dialer_display_text" android:gravity="center" android:id="@id/dtmfDialerField" android:background="@color/dtmf_dialer_display_background" [COLOR="Blue"]android:paddingTop="50.0dip"[/COLOR] android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:focusableInTouchMode="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="@dimen/dtmf_dialer_field_height" android:scrollHorizontally="true" android:singleLine="true" android:freezesText="true" />
</LinearLayout>
<include layout="@layout/dtmf_dialpad_twelve" />
</LinearLayout>
OPTIONAL Smali Edits:
InCallUI.apk Smali edit.
This will prevent the 'Last spoke' popup item from displaying right above the toggles.
smali\com\android\incallui\callerinfocard\item\LastCallLogItem.smali
Find and replace this entire method:
Code:
.method protected setItem(Landroid/content/Context;Landroid/net/Uri;Landroid/database/Cursor;Ljava/lang/Object;)V
.locals 0
return-void
.end method
InCallUI.apk Smali edit.
This will prevent the 'Last message' popup item from displaying right above the toggles.
smali\com\android\incallui\callerinfocard\item\MessageItem.smali
Find and replace this entire method:
Code:
.method protected setItem(Landroid/content/Context;Landroid/net/Uri;Landroid/database/Cursor;Ljava/lang/Object;)V
.locals 0
return-void
.end method
OPTIONAL Text Color Changes:
Text color changes, these codes are currently set to Black, change to whatever you need.
Call info card text
res/layout/caller_info_card_item.xml
Search through and change these fields to your color choice.
Code:
android:textColor="#ff000000"
DTMF Dialer & Call Timer
res/values/colors.xml
Code:
<item type="color" name="dtmf_dialer_display_text">#ff000000</item>
<color name="overlay_call_time_text_color">#ff000000</color>
End call upper text
res\color\endcall_upper_button_text.xml
Code:
<item android:color="#ff000000" />
OPTIONAL How to rearrange bottom row buttons:
To rearrange buttons xml edit:
res/values/in_call_button_voice_fragment.xml
The bottom row is split into two sections. Think of it as left side and right side.
If you move an item from the left side (top section), to the right side (bottom section), an item must be moved up from the bottom section to take its place.
The lines in RED are the lines to move back and forth.
The lines in ORANGE are the treated exactly the same as the lines in RED except they must be moved as a group (think of the group as a single line).
In this example, I have moved the End Call button to the far left so it is the first item to appear in the top section. I also had to move the line for speakerButton down one section so it would balance out the sections.
The line in GREEN should stay right where it is (I think ).
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/incall_upper_button_contaienr" android:layout_width="180.0dip" android:layout_height="68.0dip" android:splitMotionEvents="false">
[COLOR="Red"]<Button android:id="@id/endButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:drawableTop="@drawable/call_icon_endcall" android:layout_weight="1.0" style="@style/InCallTouchEndButton" />
[/COLOR] [COLOR="Orange"]<Button android:id="@id/addCallButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenAddCallText" android:drawableTop="@drawable/incall_button_add_icon" android:layout_weight="1.0" android:contentDescription="@string/onscreenAddCallText_description" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/rcsVideoButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/rcs_share_live_video" android:drawableTop="@drawable/incall_button_rcs_video_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/recordButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/menu_record_voice" android:drawableTop="@drawable/incall_record_play_button" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />[/COLOR]
[COLOR="Red"]<Button android:id="@id/dialpadButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenShowDialpadText" android:drawableTop="@drawable/incall_button_dialpad_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
[/COLOR] </LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/incall_lower_button_contaienr" android:layout_width="180.0dip" android:layout_height="68.0dip" android:splitMotionEvents="false">
[COLOR="Red"]<ToggleButton android:id="@id/speakerButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenSpeakerText" android:textOff="@string/onscreenSpeakerText" android:drawableTop="@drawable/incall_button_speaker_icon" android:contentDescription="@string/description_speaker" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/muteButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenMuteText" android:textOff="@string/onscreenMuteText" android:drawableTop="@drawable/incall_button_mute_icon" android:contentDescription="@string/description_mute" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/bluetoothButton" android:textOn="@string/audio_mode_bluetooth" android:textOff="@string/audio_mode_bluetooth" android:drawableTop="@drawable/incall_button_bluetooth_icon" android:contentDescription="@string/description_bluetooth" style="@style/InCallTouchToggleButtonNoFrame" />
[/COLOR] [COLOR="Green"]<Button android:id="@id/rcsShareButton" android:visibility="gone" android:text="@string/rcs_share" android:drawableTop="@drawable/incall_button_rcs_share_icon" style="@style/InCallTouchButtonRcsShare" />
[/COLOR] </LinearLayout>
You're the man.
Very nice work always a treat! Request if possible thanks
Thanks dont have access to computer at the moment.
tdunham said:
FullScreen Call Themed
This is for DeOdexed builds ONLY!
This mod is based on the NE5 DeOdexed Rom.
Click to expand...
Click to collapse
Very nice. When making an outgoing call, I just get the standard dialpad, is that what's suppose to happen?
Ramer84015 said:
Very nice. When making an outgoing call, I just get the standard dialpad, is that what's suppose to happen?
Click to expand...
Click to collapse
Yes, they are different dialers in two different files.
Sent from my SM-G900P using XDA Premium 4 mobile app
A guide has been posted in Post #2.
I keep getting this annoying sending tones pop-up when I place a call, and the box at the bottom that says when you last contacted the person is under the icons. Anyway to get rid of that pop up and raise up that box s little?
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
I keep getting this annoying sending tones pop-up when I place a call, and the box at the bottom that says when you last contacted the person is under the icons. Anyway to get rid of that pop up and raise up that box s little?
Click to expand...
Click to collapse
I don't think we've figured the last contacted thing yet but I removed it entirely so not sure what you're seeing. Post a screenshot of that when you have time.
Just an FYI, the same exact box will show if there is a special event associated with the caller, like Birthdays and Anniversary but I thought I wouldn't mess with that one. Still, something that needs to be dealt with.
I've heard about the sending tones pop-up before this mod so I'm not sure if its specific. Did you mess with DTMF or something? Post a screenshot of that too. Maybe I can just find a way to remove the popup entirely but it would be nice to know whats causing it to begin with.
tdunham said:
I don't think we've figured the last contacted thing yet but I removed it entirely so not sure what you're seeing. Post a screenshot of that when you have time.
Just an FYI, the same exact box will show if there is a special event associated with the caller, like Birthdays and Anniversary but I thought I wouldn't mess with that one. Still, something that needs to be dealt with.
I've heard about the sending tones pop-up before this mod so I'm not sure if its specific. Did you mess with DTMF or something? Post a screenshot of that too. Maybe I can just find a way to remove the popup entirely but it would be nice to know whats causing it to begin with.
Click to expand...
Click to collapse
No problem... Here you go
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
No problem... Here you go
Click to expand...
Click to collapse
Thanks.
Oh great, it shows last sms/mms too.
The SS of sending tones, does it only popup when you use the keypad in the dialer? Like I said before the actual phone dialer is a different apk completely from the one for the in-call screen so I'm hoping it's localized to that.
tdunham said:
Thanks.
Oh great, it shows last sms/mms too.
The SS of sending tones, does it only popup when you use the keypad in the dialer? Like I said before the actual phone dialer is a different apk completely from the one for the in-call screen so I'm hoping it's localized to that.
Click to expand...
Click to collapse
The pop up only happens when I place the call. And it stays there for like 2-4 seconds and then connects to the call
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
The pop up only happens when I place the call. And it stays there for like 2-4 seconds and then connects to the call
Click to expand...
Click to collapse
Ok, that sounds like the main dialer then. When you have time, flash back to stock MOAR incallui and see if it still happens. I think it will.
tdunham said:
Ok, that sounds like the main dialer then. When you have time, flash back to stock MOAR incallui and see if it still happens. I think it will.
Click to expand...
Click to collapse
Flashed over the stock in call and it still does it, I guess it is the main dialer. Weird, I never seen it before, probably because I didn't have a cool theme to look at haha
So the only issue is the last message box then
Sent from my SM-G900P using XDA Premium 4 mobile app
@tdunham
U are the man Sir.... been waiting on this mod since my S4..... awesome guide.
One of my new favorite Mods. Thanks tdunham .
I've updated the guide at the very bottom for an additional smali edit to remove the 'Last message' popup that shows behind the call buttons.
I will post an update to the full mod later for this too.
tdunham said:
I've updated the guide at the very bottom for an additional smali edit to remove the 'Last message' popup that shows behind the call buttons.
I will post an update to the full mod later for this too.
Click to expand...
Click to collapse
I found the code but it's exactly the same as the one you have in the box so what would I be replacing it with?
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
I found the code but it's exactly the same as the one you have in the box so what would I be replacing it with?
Click to expand...
Click to collapse
The smali edit or the color edit?
Version 2 is up by the way.