FORUMS

[GUIDE][HOW-TO] Use an custom image as Android System background in KitKat

2,827 posts
Thanks Meter: 4,557
 
By mannyvinny, Recognized Contributor on 23rd April 2014, 11:19 AM
Post Reply Subscribe to Thread Email Thread
With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image instead of black color.

1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-

Quote:

tw_background_holo_dark.xml

Replace this line-
with this-
3.Now navigate to res\drawable-sw360dp-xhdpi (it may be xxhdpi for high-res devices)
4.Paste your custom png here and rename it to tw_background_holo_dark.png
5.Now recompile

6.Finally push META-INF and Android Manifest.xml in your compiled apk and then zip align it.
Here's a screenshot from my 4.4.2 TW KitKat ROM-



Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-12-25-08-59-51.jpg
Views:	2357
Size:	122.5 KB
ID:	2703489  
Last edited by mannyvinny; 23rd April 2014 at 12:31 PM.
The Following 2 Users Say Thank You to mannyvinny For This Useful Post: [ View ]
 
 
31st December 2014, 03:25 PM |#2  
Member
Thanks Meter: 6
 
More
Hi.
You are missing some info:
Replace this line-
with this-

What should I replace?
Thx
15th March 2015, 03:44 PM |#3  
GokulNC's Avatar
Senior Member
Flag Chennai
Thanks Meter: 140
 
More
Quote:
Originally Posted by mannyvinny

With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image instead of black color.


1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-

Replace this line-
with this-
3.Now navigate to res\drawable-sw360dp-xhdpi (it may be xxhdpi for high-res devices)
4.Paste your custom png here and rename it to tw_background_holo_dark.png
5.Now recompile

6.Finally push META-INF and Android Manifest.xml in your compiled apk and then zip align it.
Here's a screenshot from my 4.4.2 TW KitKat ROM-



You missed something I guess
16th March 2015, 06:05 AM |#4  
Junior Member
Thanks Meter: 0
 
More
Replace what with what????

Sent from my GT-S6810P using xda-developers.com, powered by appyet.com
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes