Cara membuat background transparant/semi transparan

Advertisement
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
please visit : http://sejutamobil.blogspot.com/2016/02/harga-bekas-honda-accord-maestro.html 
Advertisement
Cara membuat background transparant/semi transparan | Deuge | 5