Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[TUTORIAL][ICS][GB]How to change Android's black background

$
0
0
If this thread helped then rate this thread 5stars and click onTip Us


Quote:

Hey Guys i am back with my new guide:victory:

I searched a lot to find a method to chnage the clack background of the menu and settings but sorry i didn't got any!:eek:

Software needed :

1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)

Difficulty level: Medium

For GB based ROMs

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/background_dark</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 png of size according to your resolution(like 320*480 for mdpi) to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk






For ICS based ROMs

1.) Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.



2.)Preparing your own image:

Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".

3.)Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .

4.)Replace the framework-res.apk(that you edited now) with the your ROM's using and Root Browser like Root Explorer and reboot.




For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>