[GUIDE] [MTK] Making Transparent Background

Search This thread

Snigdho

Senior Member
Aug 3, 2014
51
45
Dhaka
Guide Written By Boss Mahdi Hasan :)
.
1. Using Photoshop or similar create a trasparent
image and save it as .png. use your device
resolution for better results. and rename its as
"mairala.png"
.
2. Decompile framework-res.apk.
.
3. Browse to res/values and open styles.xml.
Search code for <style name="Theme">
On it, search this line <item name="colorBack
ground">@color/background_dark</item> (using
note pad++ is line 46 maybe) and replace with
<item name="colorBackground">@color/
transparent</item>
then search this line <item name="windowBac
kground">@drawable/screen_background_selector_
dark</item>
(using note pad++ is line 81 maybe) and replace
with <item name="windowBackground">@drawable/
mairala</item>
.
4. then Search code for <style name="Theme.Light"
parent="@style/Theme">
On it, search this line <item name="colorBack
ground">@color/background_light</item>
(using note pad++ is line 372 maybe) and replace
with <item name="colorBackground">@color/
transparent</item>
then search this line <item name="windowBac
kground">@color/white</item>
(using note pad++ is line 385 maybe) and replace
with <item name="windowBackground">@drawable/
mairala</item>
.
5. Search code for "<style name="Theme.Hol
o"parent="@style/Theme">"
On it, search this line "<item name="windowSho
wWallpaper">false</item>" (using note pad++ is line
1021 maybe) and replace
with "<item name="windowShowWallpaper">true</
item>"
.
6. Save and close.
.
7. Browse to res/drawable-hdpi , res/drawable-nodpi and paste your
image (mairala.png)
.
8. Recompile framework-res.
.
9. Using winrar or similar browse into
Contacs.apk to res/drawable-nodpi and replace
existing background_dial_holo_dark.png with
your image. simply drag&drop.
.
8. Replace framework-res and Contacts.apk on
your device..
.
Note: may you have to change some black text
color of framework-dependent apks.
You can do it from colors.xml
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Guide Written By Boss Mahdi Hasan :)
    .
    1. Using Photoshop or similar create a trasparent
    image and save it as .png. use your device
    resolution for better results. and rename its as
    "mairala.png"
    .
    2. Decompile framework-res.apk.
    .
    3. Browse to res/values and open styles.xml.
    Search code for <style name="Theme">
    On it, search this line <item name="colorBack
    ground">@color/background_dark</item> (using
    note pad++ is line 46 maybe) and replace with
    <item name="colorBackground">@color/
    transparent</item>
    then search this line <item name="windowBac
    kground">@drawable/screen_background_selector_
    dark</item>
    (using note pad++ is line 81 maybe) and replace
    with <item name="windowBackground">@drawable/
    mairala</item>
    .
    4. then Search code for <style name="Theme.Light"
    parent="@style/Theme">
    On it, search this line <item name="colorBack
    ground">@color/background_light</item>
    (using note pad++ is line 372 maybe) and replace
    with <item name="colorBackground">@color/
    transparent</item>
    then search this line <item name="windowBac
    kground">@color/white</item>
    (using note pad++ is line 385 maybe) and replace
    with <item name="windowBackground">@drawable/
    mairala</item>
    .
    5. Search code for "<style name="Theme.Hol
    o"parent="@style/Theme">"
    On it, search this line "<item name="windowSho
    wWallpaper">false</item>" (using note pad++ is line
    1021 maybe) and replace
    with "<item name="windowShowWallpaper">true</
    item>"
    .
    6. Save and close.
    .
    7. Browse to res/drawable-hdpi , res/drawable-nodpi and paste your
    image (mairala.png)
    .
    8. Recompile framework-res.
    .
    9. Using winrar or similar browse into
    Contacs.apk to res/drawable-nodpi and replace
    existing background_dial_holo_dark.png with
    your image. simply drag&drop.
    .
    8. Replace framework-res and Contacts.apk on
    your device..
    .
    Note: may you have to change some black text
    color of framework-dependent apks.
    You can do it from colors.xml
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone