Post Reply

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

6th July 2014, 04:44 AM   |  #1  
SMARTY BOY's Avatar
OP Senior Member
Thanks Meter: 169
 
256 posts
Join Date:Joined: May 2014
More
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
The Following 5 Users Say Thank You to SMARTY BOY For This Useful Post: [ View ]
6th July 2014, 04:50 AM   |  #2  
SMARTY BOY's Avatar
OP Senior Member
Thanks Meter: 169
 
256 posts
Join Date:Joined: May 2014
More
If You Will Face Problem Let Me Know I will Help You
19th July 2014, 06:16 AM   |  #3  
Junior Member
Flag Plaridel
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2014
More
GoodJOB
thanks
22nd July 2014, 06:00 AM   |  #4  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Mar 2013
More
Thumbs up
thank you
6th August 2014, 09:48 AM   |  #5  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jul 2014
Interesting !

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

Advanced Search
Display Modes