移动叔叔
标题:
教大家把rom改成全透明的哈哈哈。。。
[打印本页]
作者:
1097133296
时间:
2013-7-9 00:05
标题:
教大家把rom改成全透明的哈哈哈。。。
1.反编译framework-res.apk
2.打开res/values里的styles.xml
3.找到这个:<style name="Theme">(直接搜索就可以了)
4.找到:<item name="colorBackground">@color/background_dark</item>
5.修改为:<item name="colorBackground">@color/transparent</item>
6.查找<item name="windowBackground">@drawable/screen_background_dark</item>
7.”screen_background_dark“这个自己命名一下,比如:image_background
8.找到<item name="windowShowWallpaper">false</item>
9.修改为<item name="windowShowWallpaper">true</item>
10.找到<style name="Theme.NoTitleBar" parent="@style/Theme">
11.最后添加<item name="windowShowWallpaper">false</item>
12.找到<style name="Theme.Black" parent="@style/Theme">
13.最后添加<item name="windowShowWallpaper">false</item>
14.找到<item name="windowBackground">@color/black</item>
15.修改为<item name="windowBackground">@drawable/image_background</item>
16.找到<style name="Theme.Dialog" parent="@style/Theme">
17.最后添加<item name="windowShowWallpaper">false</item>
18.找到<style name="Theme.Light" parent="@style/Theme">
19.最后添加<item name="windowShowWallpaper">false</item>
20.找到<style name="Theme.Translucent" parent="@style/Theme">
21.最后添加<item name="windowShowWallpaper">false</item>
22.找到<style name="Theme.NoDisplay" parent="@style/Theme">
23.最后添加<item name="windowShowWallpaper">false</item>
24.找到<style name="Theme.Panel" parent="@style/Theme">
25.最后添加<item name="windowShowWallpaper">false</item>
26.修改完成,保存
27.打开/res/values/drawable.xml
28.找到<item type="drawable" name="screen_background_dark">#ff000000</item>
29.修改为<item type="drawable" name="screen_background_dark">#00000000</item>(通讯录拨号背景)
30.把image_background.png放到反编译的文件夹里的res\drawable-hdpi
30.把image_background.png放到反编译的文件夹里的res\drawable-hdpi
31.回编译
32.把resources.arsc替换原来的apk
33.把image_background.png放到apk里的res\drawable-hdpi
欢迎光临 移动叔叔 (http://bbs.ydss.cn/)
Powered by Discuz! X3.2