Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,214 Members 43,567 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE](EASY) How to change Android's black background (AOSP)

Tip us?
 
SMARTY BOY
Old
#1  
Senior Member - OP
Thanks Meter 135
Posts: 210
Join Date: May 2014
Default [GUIDE](EASY) How to change Android's black background (AOSP)

Definately This Guide Will help You .This Guide Will Help You If you ever get bored with the black background in Android, now you can changeit by making a few small edits to framework-res.apk/res/values/styles.xml

This will affect MOST of the black background you see in Android (e.g. settings, contacts, mms, installer etc.) with the exception of certain apps that use their on backgrounds (e.g. contacts logs, email etc.).



1. Decompile framework-res.apk



2. Navigate to res/values and open styles.xml

3. Locate <style name="Theme">

4. Replace<item name="colorBackground">@color/background_dark</item>with<item name="colorBackground">@color/transparent</item>


5. Replace<item name="windowBackground">@drawable/screen_background_dark</item>with<item name="windowBackground">@drawable/mybackground</item>


6. Locate <style name="Theme.Black" parent="@style/Theme">


7. Replace<item name="colorBackground">@color/black</item>with<item name="colorBackground">@color/transparent</item>

8. Replace<item name="windowBackground">@color/black</item>with<item name="windowBackground">@drawable/mybackground</item>


9. Create a 480x800 png to your liking, nameit mybackground.png and place it in drawable-hdpi folder

9. Recompile framework-res.apk

DONE ENJOY!

Note:Always create a backup before making any modifications

RECOGNIZED ROM DEVELOPER AND THEMER
PRESS THANKS IF I HELPED YOU
The Following 5 Users Say Thank You to SMARTY BOY For This Useful Post: [ Click to Expand ]
 
SMARTY BOY
Old
#2  
Senior Member - OP
Thanks Meter 135
Posts: 210
Join Date: May 2014
If You Will Face Problem Let Me Know I will Help You

RECOGNIZED ROM DEVELOPER AND THEMER
PRESS THANKS IF I HELPED YOU
 
andreilorenzo
Old
#3  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: May 2014
Location: Plaridel
Default GoodJOB

thanks
 
stalingard
Old
#4  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2013
thank you
 
M4X MX
Old
#5  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Jul 2014
Interesting !

Would it be possible to set:
Code:
<item name="android:windowIsTranslucent">true</item>
using this technique ?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes