20 July 2013

Cara membuat background transparant/semi transparan

Cara membuat background transparant/semi transparan

 
syarat :
1.kompi/lepi
2.mengerti basic decompile dan recompile
3.kemauan/usaha
 
tools :
1. apkmultitool  [Terserah om mo make apa,ane make ini]
2. java jdk  [kalo uda ada skip]
3. notepad++  
4. framework-res.apk [jngan tanya dpt dr mana]
 
 
step :
-extrack apkmultitool- taro framework-res.apk kedalam folder " place-apk-here-for-modding "
-buka Script.bat-enter
-masukan angka 24 -enter [set current project]
-masukan angka 9 -enter [decompile apk]
-minimiz scrip.bat [jangan ditutup]
-cari " colors.xml " di folder  apkmultitool/project/framework-res.apk/res/values/colors.xml
-buka menggunakan notepad++
 
 
-PERHATIKAN KODE WARNA INI
 
A short hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
 
- Kali ini ane mo pake kode warna dg tingkat ketransparanan 50% jd pk kode warna #7F000000
- tambahkan line "<color name="background">#7f000000</color> " paling bawah,diatas </resources>
- SAVE 
 
-cari " styles.xml " di folder  apkmultitool/project/framework-res.apk/res/values/styles.xml
-buka menggunakan notepad++
-pertempuran sebenarnya :p
 
 
IKUTI LANGKAH INI
==================================================

<item name="colorBackground">@color/background_dark</item>
 
ganti dengan
 
<item name="colorBackground">@color/transparent</item>
 ==================================================
 
<item name="windowBackground">@drawable/screen_background_dark</item>
 
ganti dengan
 
<item name="windowBackground">@color/background</item>
==================================================
 
<item name="windowShowWallpaper">false</item>
 
ganti dengan
 
<item name="windowShowWallpaper">true</item>
==================================================
 
<style name="Theme.Black" parent="@style/Theme">
<item name="colorBackground">@color/black</item>
<item name="windowBackground">@color/black</item>
 
ganti dengan
 
<style name="Theme.Black" parent="@style/Theme">
<item name="colorBackground">@color/background</item>
<item name="windowBackground">@color/background</item>
==================================================
 
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_light_disable_only</item>
 
lalu tambahkan tepat dibawahnya
 
<item name="windowShowWallpaper">false</item> ==================================================
 
<item name="colorBackground">@color/background_light</item>
 
ganti dengan
 
<item name="colorBackground">@color/transparent</item>
==================================================
 
<item name="windowBackground">@drawable/screen_background_light</item>
 
ganti dengan
 
<item name="windowBackground">@color/background_light</item>
==================================================
 
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="popupBackground">@drawable/editbox_dropdown_background_dark</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="backgroundDimEnabled">false</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="backgroundDimEnabled">false</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="scaleType">fitCenter</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<item name="scaleType">fitCenter</item>
 
tambahkan kode ini tepat dibawahnya
 
<item name="windowShowWallpaper">false</item>
==================================================
 
<style name="Widget.QuickContactBadge.WindowSmall" parent="@style/Widget.QuickContactBadge">
<item name="quickContactWindowSize">modeSmall</item>
 
ganti dengan
 
<style name="Widget.QuickContactBadge.WindowSmall" parent="@style/Widget.QuickContactBadge">
<item name="windowShowWallpaper">false</item>
<item name="quickContactWindowSize">modeSmall</item>
==================================================
 
<style name="Widget.QuickContactBadge.WindowMedium" parent="@style/Widget.QuickContactBadge">
<item name="quickContactWindowSize">modeMedium</item>
 
ganti dengan
 
<style name="Widget.QuickContactBadge.WindowMedium" parent="@style/Widget.QuickContactBadge">
<item name="windowShowWallpaper">false</item>
<item name="quickContactWindowSize">modeMedium</item>
==================================================
 
<style name="Theme.ExpandedMenu" parent="@style/Theme">
    <item name="listViewStyle">@style/Widget.ListView.Menu</item>
    <item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
    <item name="background">@null</item>
    <item name="itemTextAppearance">?textAppearanceLarge</item>
 
ganti dengan
 
<style name="Theme.ExpandedMenu" parent="@style/Theme">
    <item name="windowBackground">@color/transparent</item>
    <item name="listViewStyle">@style/Widget.ListView.Menu</item>
    <item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
    <item name="background">@null</item>
    <item name="itemTextAppearance">?textAppearanceLarge</item> 
    <item name="windowShowWallpaper">false</item>
 ==================================================
 
DONE & SAVE

 
-buka lg Scrip.bat
-Recompile kembali framework-res nya,,,
-masukan angka 11
-pastikan nggak error,kalo error coba cek logcat nya
-kalo nggak error langsung ada peringatan y/n
https://www.dropbox.com/s/acato4vommqtvhq/no%20error.png
 
-pilih y -enter
-nyampe gbr seperti ini  https://www.dropbox.com/s/5dka22oqkqsvv62/delete%20resources.png
 
-cari dan buka folder keep
-hapus resources.arsc nya
-enter
-lihat di folder " place-apk-here-for-modding "
-terdapat file baru bernama " System_framework-res.apk "
-kemudian rename jd framework-res.apk.
-kemudian push lewat ROOTEX jgn lp samakan permisionnya ...REBOOT
 
 
bagi yg masi bingung ni compare ama style.xml punya ane :
https://www.dropbox.com/s/uhta9ubtd43dseh/styles.xml
 
thanks to :
-Allah SWT
-lerry oscar
-google
-xda
-all grup android facebook
 
DWYYOR jgn lp BACK-UP
 
 
TESTED STOCKROM DXKPD
 
Kalo ada yg kurang mohon dikoreksi

Share on Facebook
Share on Twitter
Share on Google+

Related : Cara membuat background transparant/semi transparan

27 komentar:

  1. om bantuin ane donk
    HH ane samsung galaxy ace 2 om
    di grub Galaxy Ace 2 GT-i8160 Community masih bingung om
    tolong bantuin ia om

    ReplyDelete
  2. Ni untuk semua hh samsung galaxy bukan

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Replies
    1. untuk seri galaxy young6310 udah JB om, langkahnya lebih sederhana..
      kalo sempet ntar ane buatin guide nya,

      Delete
  5. style name="Theme.Black" parent="@style/Theme"> <-----
    item name="colorBackground">@color/black
    item name="windowBackground">@color/black

    ganti dengan

    style name="Theme.Black" parent="@style/Theme"> <-----
    item name="colorBackground">@color/background
    item name="windowBackground">@color/background


    Nanya gan, baris pertama (yg ane kasih panah) emang nggak berubah ya? Thanks artikelnya Gan. Mencerahkan banget!

    ReplyDelete
    Replies
    1. iya om, cuman merubah
      item name="colorBackground">@color/black
      jadi
      item name="colorBackground">@color/background

      target color background td yg barusan nte buat di colors.xml

      Delete
  6. buat yang android jely bean caranyua bagaimana gan?

    trima kasih

    ReplyDelete
  7. gan kalo yang buat samsaung galaxy core biar tranfaran full??

    ReplyDelete
  8. Thanks bro...visit me in http://limasagung.blogspot.com/

    ReplyDelete
  9. gan kalo error jalan keluarnya gimana?

    ReplyDelete
  10. tambahkan line "#7f000000 " paling bawah,diatas
    ini maksutnya gimana gan?

    ReplyDelete
  11. Om semua aplikasi force close :D kira2 apanya yang error yah?
    padahal saat di recompile gak error :D

    ReplyDelete
    Replies
    1. Instal via aroma fm/cwm, kalo push via rotex emng kadang gitu

      Delete
  12. gan ane boleh minta custoom romnya gan ???
    ane sudah berulang kali coba trik di atas,,,, ampe gak tidur gan,,tapi waktu ane satukan lagi,,pasti eror apanya itu gan?? mumet saya gan,,,,, sudah saya teliti berulang2 tutor sudah bemnar masih aja waktu di satukan pasti eror.... mohon pencerahanya gan,,,newbie,,,

    ReplyDelete
    Replies
    1. Errornya gmn? minta log errornya

      Delete
  13. maaf sbelumnya gan..
    boleh ngga, foto comment.y jngan mata 1, gambar lain aja gan..

    ReplyDelete
  14. Mantab gan infonya, sangat bermanfaat ini buat ane. hehe
    Lowongan Kerja PT Sugar Group Companies - SGC Leadership Program - Juni 2015
    http://expocpnsbumn.blogspot.com/2015/05/lowongan-kerja-pt-sugar-group-companies.html

    ReplyDelete
  15. mantaap om joss dah
    andro ane tembus semua
    .
    tapi masih ada satu masalah di saat mau copy text selalu ketutup background

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete