Hello @all,
since the first froyo builds I missed the input/keyboard animation. I liked the animation as it was in the previous eclair builds. So I took a look into this.
Theres an easy solution to this, if you know how to de-/recompiling the framework-res.apk.
I don't describe here how to decompile apk's. There are enough tutorials here I think.
So, to get the Input animation back you just have to take a look into:
\res\values\styles.xml
and search for:
Code:
<style name="Theme.InputMethod" parent="@style/Theme.Panel">
<item name="imeFullscreenBackground">@drawable/input_method_fullscreen_background</item>
<item name="imeExtractEnterAnimation">@anim/input_method_extract_enter</item>
<item name="imeExtractExitAnimation">@anim/input_method_extract_exit</item>
</style>
and add one line to get this:
Code:
<style name="Theme.InputMethod" parent="@style/Theme.Panel">
<item name="windowAnimationStyle">@style/Animation.InputMethod</item>
<item name="imeFullscreenBackground">@drawable/input_method_fullscreen_background</item>
<item name="imeExtractEnterAnimation">@anim/input_method_extract_enter</item>
<item name="imeExtractExitAnimation">@anim/input_method_extract_exit</item>
</style>
...recompile and you've got the default input/keyboard animation back.
I add my example framework-res.apk in an CWM flashable .zip file. It's the framework from the actual JPX ROM. Theres also my own Battery Icon Mod included. Stock Battery Icon style, but with pixel exact display of the battery und charging state. This means 30 battery states displayed and not just only 4 or 5 like in the original. Even when charging. Much nices and more accurate.
Hope I could help somebody with this. If you have question just ask here. And sorry for my english
Hi,
Do you maybe know how to get this working on Sense roms. The line you added is already present in my framework-res.
Attached the framework-res.apk of my rom below.
Emm, is it the same as fancy keyboard animation from spare parts?
Just get the Spare Parts app from the Market.
Yes could someone please try get this working on Sense roms? Like casklaverstijn said that line is already present, yet the animation does not work. What else could we try?
Enabling it in spare parts makes no change too.
Hi, it's just that i want to change the font colour of my rom (it's still is in beta mode and i haven't post it, but it'll soon come). My rom is based on the framework of the nexus s and its systemui.apk so everything is the same, but when im at any place and i press the button left to the home button, and it displays the extra options, the extra options are in the same colour as the font (black) and i can't see it. I would just copy the xml files on the nexus s framework (i suppose it's located there), but its far better if i learn how to change it myself. I'm a bit noob at rom cooking, and i know the basics, how to edit the framework, edditing apk's appearance, cooking it, making it into a flasheable zip, but the thing i don't know is how to this.
Any help is appreciated. Thanks
If I'correct then in twframework in /res/values should be xml file color.xml and in there should be color hex code with most colors used in theme or in /res/drawable is quite few xml files for some menus. You edit xml with some better editor. Hope this can jelp a little rrst will theme modders add
Sent from my GT-I9000 using XDA App
00.ante said:
If I'correct then in twframework in /res/values should be xml file color.xml and in there should be color hex code with most colors used in theme or in /res/drawable is quite few xml files for some menus. You edit xml with some better editor. Hope this can jelp a little rrst will theme modders add
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks a lot
Going to try it tomorrow, will post results
No success...
http://forum.xda-developers.com/showthread.php?p=9664604#post9664604
So i have successfully managed to edit all images in HTC_IME but what im after is changing the highlight colour of the keys pressed. I found the colors.xml in res/values
I did the edits (changed the hex colour code) for
color name="text_inline_selection">#ffff00ff</color>
and also
color name="default_ime_highlight">#ffff00ff</color>
saved the file recompiled and pushed back to phone all the png's and 9.png's had successfully changed but the colour remained the same HTC GREEN!!
Can anyone tell me what im doing wrong here
Thanks
Any solution?
Sent from my HTC One X using XDA Premium HD app
No as far as i know( not so much on this topic ) this should work...
Hi to all...
This is a little guide on how to mod mms.apk of a stock samsung firmware and on how to apply a full or semi transparence to the notification items, if exists any similar guide (i have searched many part of this section and i haven't found nothing of this) please, moderators, delete this thread.
First of all keep in mind that we'll work on XWLPG 4.0.3 firmware.
I'm assuming that you have the basic knowledge on how to decompile-recompile apk of your system image.
Ok, let's start...
PART 1 - HOW TO APPLY A BACKGROUND IMAGE TO MMS.APK
We'll need to "patch" this apk, because as it is, the mms.apk use a solid color (black) like background and we want to use an image instead.
So, first, decompile mms.apk
Go to res/values/styles.xml
Search for this (usually the last paragrapher)
Code:
<style name="TwMessageTheme" parent="@touchwiz:style/TwTheme">
<item name="android:windowNoTitle">true</item>
</style>
delete it and paste the following
Code:
<style name="TwMessageTheme" parent="@android:style/Theme.DeviceDefault.Wallpaper">
<item name="android:windowBackground">@drawable/mms_bg</item>
</style>
Of course you must insert a PNG called mms_bg.png in your drawable-hdpi folder (i have used a 470x512 resolution image).
Done....now recompile your mms.apk and push it in to your system/app folder!
The following screen show the results of this modification
{
"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"
}
PART 2 - HOW TO SET TRANSPARENT COLOR TO NOTIFICATION ITEMS
This is the link of the guide, found in other section, that used for make this.
The following screen shows the default visual appearance of the notification items background
Sorry, this isn't an image from a stock samsung rom, but as you can see is a solid dark grey color, something similar of a stock look.
With this little tip you can change this and make it full or semi transparent
Decompile you SystemUI.apk (remember to install your framework, it's a proprietary rom)
Go to res/values/drawables.xml
search for the following (usually the line number 34)
Code:
<item type="drawable" name="notification_item_background_color">#ff1f2225</item>
SEMI TRANSPARENT -----> change the value #ff1f2225 with #77000000
You will have the following
Code:
<item type="drawable" name="notification_item_background_color">#77000000</item>
FULL TRANSPARENT ------> change the value #ff1f2225 with #00000000
You will have the following
Code:
<item type="drawable" name="notification_item_background_color">#00000000</item>
Now recompile system.UI and you're done.
The screen shot shows an example of semi transparent background
Enjoy....
Ps.: sorry for my bad english (i feel like a robot writing this )
Pps.: i know this is a very little "how to", nothing special, but i am trying to be useful to this great community...
umberto1978 said:
Hi to all...
This is a little guide on how to mod mms.apk of a stock samsung firmware and on how to apply a full or semi transparence to the notification items, if exists any similar guide (i have searched many part of this section and i haven't found nothing of this) please, moderators, delete this thread.
First of all keep in mind that we'll work on XWLPG 4.0.3 firmware.
I'm assuming that you have the basic knowledge on how to decompile-recompile apk of your system image.
Ok, let's start...
PART 1 - HOW TO APPLY A BACKGROUND IMAGE TO MMS.APK
We'll need to "patch" this apk, because as it is, the mms.apk use a solid color (black) like background and we want to use an image instead.
So, first, decompile mms.apk
Go to res/values/styles.xml
Search for this (usually the last paragrapher)
Code:
<style name="TwMessageTheme" parent="@touchwiz:style/TwTheme">
<item name="android:windowNoTitle">true</item>
</style>
delete it and paste the following
Code:
<style name="TwMessageTheme" parent="@android:style/Theme.DeviceDefault.Wallpaper">
<item name="android:windowBackground">@drawable/mms_bg</item>
</style>
Of course you must insert a PNG called mms_bg.png in your drawable-hdpi folder (i have used a 470x512 resolution image).
Done....now recompile your mms.apk and push it in to your system/app folder!
The following screen show the results of this modification
PART 2 - HOW TO SET TRANSPARENT COLOR TO NOTIFICATION ITEMS
This is the link of the guide, found in other section, that used for make this.
The following screen shows the default visual appearance of the notification items background
Sorry, this isn't an image from a stock samsung rom, but as you can see is a solid dark grey color, something similar of a stock look.
With this little tip you can change this and make it full or semi transparent
Decompile you SystemUI.apk (remember to install your framework, it's a proprietary rom)
Go to res/values/drawables.xml
search for the following (usually the line number 34)
Code:
<item type="drawable" name="notification_item_background_color">#ff1f2225</item>
SEMI TRANSPARENT -----> change the value #ff1f2225 with #77000000
You will have the following
Code:
<item type="drawable" name="notification_item_background_color">#77000000</item>
FULL TRANSPARENT ------> change the value #ff1f2225 with #00000000
You will have the following
Code:
<item type="drawable" name="notification_item_background_color">#00000000</item>
Now recompile system.UI and you're done.
The screen shot shows an example of semi transparent background
Enjoy....
Ps.: sorry for my bad english (i feel like a robot writing this )
Pps.: i know this is a very little "how to", nothing special, but i am trying to be useful to this great community...
Click to expand...
Click to collapse
hello sir.. would be able to mod the statusbar? I mean, when u pull down the notification bar, the statusbar and the icons will be overlapped or covered by a black background.. so, u won't be able to see the statusbar icons when u pull down..
maanz said:
hello sir.. would be able to mod the statusbar? I mean, when u pull down the notification bar, the statusbar and the icons will be overlapped or covered by a black background.. so, u won't be able to see the statusbar icons when u pull down..
Click to expand...
Click to collapse
Ok i understand.... But i don' t think i can make this (i have a lot to learn)
Anyway i am not at home, but when i can i can try to see this. Sorry.
Try to open a thread in the Q&A section and make here the question, maybe some dev can properly answer. Hi.
Inviato dal mio GT-I9100 con Tapatalk 2
umberto1978 said:
Ok i understand.... But i don' t think i can make this (i have a lot to learn)
Anyway i am not at home, but when i can i can try to see this. Sorry.
Try to open a thread in the Q&A section and make here the question, maybe some dev can properly answer. Hi.
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
ok sir.. thanks.
Thanks for the tutorial
What method are you using to decompile the apks? Ive tried lots of different apktools but all cause errors
Sent from my GT-N7000 using xda premium
maskerwsk said:
Thanks for the tutorial
What method are you using to decompile the apks? Ive tried lots of different apktools but all cause errors
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Wow, someone gets interested!
Aside the joking, can you be more specific, please? in which part of tutorial you have difficult? and when do you have error? at decompiling or recompiling?
Im trying to make the notifications transparent. these are controlled in the res/values/drawables.xml
However when i try to decompile the systemui.apk with any apktool i get errors in the coding. Most of the lines will be fine and show up as they should. However i get around 10-15 lines of /APKTOOL DUMMY/ text.
What version of apktool or software did you use to decompile your apks for this tutorial?
I hope that makes sense lol
Sent from my GT-N7000 using xda premium
maskerwsk said:
Im trying to make the notifications transparent. these are controlled in the res/values/drawables.xml
However when i try to decompile the systemui.apk with any apktool i get errors in the coding. Most of the lines will be fine and show up as they should. However i get around 10-15 lines of /APKTOOL DUMMY/ text.
What version of apktool or software did you use to decompile your apks for this tutorial?
I hope that makes sense lol
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Sorry if i reply lately, but my sons make me busy all the time when i am at home...
First...i use apk manager
Well, make sure you install the framework of your rom when decompiling SystemUI (option 10 instead of 9, when the shell requests it drag and drop framework-res.apk of your rom in to the apk manager's window, that's because the one that came with apk manager is generic one ).
I am using THIS apk manager, all credits to Wanam: it's a modded version based over 4.9 official release.
Let me know if works (it should).
Thanks for the help.
However im still getting errors on decomiling.
I did some testing this morning and the only file im having errors on is the res/values/drawables.xml
Everything else is fine but that.
Used the apktool you linked and still get samr thing.
Grrrr ita getting annoying lol
Sent from my GT-N7000 using xda premium
maskerwsk said:
Thanks for the help.
However im still getting errors on decomiling.
I did some testing this morning and the only file im having errors on is the res/values/drawables.xml
Everything else is fine but that.
Used the apktool you linked and still get samr thing.
Grrrr ita getting annoying lol
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Assuming that you had follow my instructions (i refer to install framework of your rom) and it st, can you send to me your systemUI and your framework-res.apk?
Just one thing: note that you can decompile only not themed apk (original)....
EDIT: send me the log too
Ahhhh i think that could be an issue.
The framework and systemui have both been themed using the universal Zip theme. Ill get the original files tested and see how it goes
Yeah i installed the franework as you said
Sent from my GT-N7000 using xda premium
I managed to get it to work
Thank you for the help!!
The background image has been changed but its also added a 'title bar' see picture.
This wasnt there before. Any idea on how to get rid?
Sent from my GT-N7000 using xda premium
maskerwsk said:
I managed to get it to work
Thank you for the help!!
The background image has been changed but its also added a 'title bar' see picture.
This wasnt there before. Any idea on how to get rid?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Do you remember how was original title bar? Was it black, like original background?
If you can post a picture of the stock apk, cause it maybe a little different from the GS2 one
It wasnt there at all. The blue bar was at the top of the screen
Sent from my GT-N7000 using xda premium
maskerwsk said:
It wasnt there at all. The blue bar was at the top of the screen
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
LOL, now i have understand well, soory (i am like retarded )
So please describe exactly what you've done. Cause you have the device on signature and not a GS2, so if you have followed my instructions maybe something to modify in proceedure.
I have a galaxy note n7000 and i followed your tut to the letter. All the coding was the same in my mms.apk as in your tutorial.
Looking at your screenshots you have it too. Might have a play with the codes
Sent from my GT-N7000 using xda premium
Got it to work
I just used the bit of your code which specified the mms_bg and it works great
Thanks for the help on this.
Sent from my GT-N7000 using xda premium
can you also change the colour of the background within mms.apk for example when you click a message and enter the conversation view the background behind the bubbles would look much better black instead of grey/blue colour
is this possible its one thing i hate about stock mms.apk
buxz777 said:
can you also change the colour of the background within mms.apk for example when you click a message and enter the conversation view the background behind the bubbles would look much better black instead of grey/blue colour
is this possible its one thing i hate about stock mms.apk
Click to expand...
Click to collapse
Yeah, it's possible for sure. I had understand that this background is not a PNG but a solid color (if anyone here knows more please tell), just i need to recognize the xml style and patch it in the right way. To do this i only need time.
Once it is done we can also tell to our dear mms.apk to use an image file instead a solid color (balck or grey, it doesn't matter).
Great Tutorial
I was looking for this for too long !!!!
Thanks..
My phone is xperia sl and firmware is Jb 211.
I modified lcd denstiy 320(original) to 285 and I like it. Any other apps' layout is ok. But there is only one problem with Phonebook.apk.
I have a right apk manager to compile and to decompile JB apps. So which xml do i have to modify to rearrange layout? values/dimens.xml or layout/dialpad.xml?
I attached screenshot and Phonebook.apk i use. If need, I wiil attach apk manger. Help me guys~
I'm not quite sure but I assume you may have to modify files found in /drawable /drawavle_xhdpi and drawable-land-xhdpi
I'll have a look later and see what I can find
Sent from my LT26i using XDA Premium HD app
Envious_Data said:
I'm not quite sure but I assume you may have to modify files found in /drawable /drawavle_xhdpi and drawable-land-xhdpi
I'll have a look later and see what I can find
Sent from my LT26i using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for replying .
I forgot to specify problem. In Phonebook.apk, the problem is only dial pad's layout. Other parts like call button or etc is ok.
I modified dimens.xml before but even after applying decompiled apk, there was no change.
This is what i've modified.
<dimen name="dialpad_height">198.0dip</dimen>
<dimen name="dialpad_button_width">0.0dip</dimen> (original)
<dimen name="dialpad_button_height">0.0dip</dimen>
to
<dimen name="dialpad_height">222.8dip</dimen>
<dimen name="dialpad_button_width">180.0dip</dimen>
<dimen name="dialpad_button_height">78.0dip</dimen>.
I think it would be useless to say but i'll say it might be help.
First I modified lcd density to 280. In lcd density 280, image whose width is 720 pixels appears to 630 pixels. So i had to lengthen the image.
But because of 630's aliquot 7, I couldn't make integer number.
To get integer, I modified lcd density to 285 and then image whose width is 720 pixels appears to 640 pixels.
My mother tongue is not English. Please, understand awkwardness of my english