edit_note帖子
57
stars积分
14,010
event加入
2012-10-04
安卓交流
[教程]『美化教程』安卓全局透明
schedule发表于 2014-02-03 19:12:00
visibility查看 1,541
chat_bubble回复 131
#1 楼主
反编译framework-res.apk后找到面在framework-res\res\values下找到
styles.xml
搜索:
<style name=“Theme“>
<item name=“colorForeground“>@color/bright_foreground_dark</item>
<item name=“colorBackground“>@color/background_dark</item>
复制代码
修改为:
<style name=“Theme“>
<item name=“colorForeground“>@color/bright_foreground_dark</item>
<item name=“colorBackground“>@color/transparent</item>
复制代码
这样就定义了系统背景透明了
然后
搜索:
<item name=“expandableListPreferredChildIndicatorRight“>?expandableListPreferredItemIndicatorRight</item>
<item name=“windowBackground“>@drawable/screen_background_dark</item>
复制代码
改为:
<item name=“expandableListPreferredChildIndicatorRight“>?expandableListPreferredItemIndicatorRight</item>
<item name=“windowBackground“>@drawable/screen_background_abcdefg</item>
复制代码
这是定义背景图片,你需要添加一个透明图片,建议弄半透明的,免得系统界面有些字看不清!
搜索:
<item name=“textColorPrimaryInverseDisableOnly“>@color/primary_text_light_disable_only</item>
<item name=“windowShowWallpaper“>false</item>
复制代码
把false改为true,这里是显示桌面壁纸,不然背景会是黑的!
搜索:
<style name=“Theme.NoTitleBar“ parent=“@style/Theme“>
<item name=“windowNoTitle“>true</item>
复制代码
在下面一行添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<style name=“Theme.Black“ parent=“@style/Theme“>
<item name=“colorBackground“>@color/black</item>
<item name=“windowBackground“>@color/black</item>
复制代码
改为:
<style name=“Theme.Black“ parent=“@style/Theme“>
<item name=“colorBackground“>@color/black</item>
<item name=“windowBackground“>@drawable/screen_background_abcdefg</item>
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“progressBarStyleSmallInverse“>@style/Widget.ProgressBar.Small</item>
<item name=“progressBarStyleLargeInverse“>@style/Widget.ProgressBar.Large</item>
<item name=“textColorPrimaryInverseDisableOnly“>@color/primary_text_dark_disable_only</item>
复制代码
在下面一行添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<style name=“Theme.Translucent“ parent=“@style/Theme“>
<item name=“windowBackground“>@color/transparent</item>
<item name=“windowIsTranslucent“>true</item>
<item name=“windowAnimationStyle“>@style/Animation</item>
复制代码
在下面添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“windowNo*“>true</item>
<item name=“windowDisablePreview“>true</item>
复制代码
在下面添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“windowContentOverlay“>@null</item>
<item name=“backgroundDimEnabled“>false</item>
复制代码
添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
在\framework\framework-res\res\drawable-hdpi下添加一张图片
screen_background_abcdefg.9.png
ok!保存,回编译,在dist文件夹下找到framework-res.apk,用winrar打开
把resources.arsc拷贝到原framework-res.apk中,
在原版\framework-res\res\drawable-hdpi中添加
screen_background_abcdefg.9.png(建议ps成半透明背景图片)
保存,退出,把修改后的framework-res.apk拷贝到手机系统中覆盖
styles.xml
搜索:
<style name=“Theme“>
<item name=“colorForeground“>@color/bright_foreground_dark</item>
<item name=“colorBackground“>@color/background_dark</item>
复制代码
修改为:
<style name=“Theme“>
<item name=“colorForeground“>@color/bright_foreground_dark</item>
<item name=“colorBackground“>@color/transparent</item>
复制代码
这样就定义了系统背景透明了
然后
搜索:
<item name=“expandableListPreferredChildIndicatorRight“>?expandableListPreferredItemIndicatorRight</item>
<item name=“windowBackground“>@drawable/screen_background_dark</item>
复制代码
改为:
<item name=“expandableListPreferredChildIndicatorRight“>?expandableListPreferredItemIndicatorRight</item>
<item name=“windowBackground“>@drawable/screen_background_abcdefg</item>
复制代码
这是定义背景图片,你需要添加一个透明图片,建议弄半透明的,免得系统界面有些字看不清!
搜索:
<item name=“textColorPrimaryInverseDisableOnly“>@color/primary_text_light_disable_only</item>
<item name=“windowShowWallpaper“>false</item>
复制代码
把false改为true,这里是显示桌面壁纸,不然背景会是黑的!
搜索:
<style name=“Theme.NoTitleBar“ parent=“@style/Theme“>
<item name=“windowNoTitle“>true</item>
复制代码
在下面一行添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<style name=“Theme.Black“ parent=“@style/Theme“>
<item name=“colorBackground“>@color/black</item>
<item name=“windowBackground“>@color/black</item>
复制代码
改为:
<style name=“Theme.Black“ parent=“@style/Theme“>
<item name=“colorBackground“>@color/black</item>
<item name=“windowBackground“>@drawable/screen_background_abcdefg</item>
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“progressBarStyleSmallInverse“>@style/Widget.ProgressBar.Small</item>
<item name=“progressBarStyleLargeInverse“>@style/Widget.ProgressBar.Large</item>
<item name=“textColorPrimaryInverseDisableOnly“>@color/primary_text_dark_disable_only</item>
复制代码
在下面一行添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<style name=“Theme.Translucent“ parent=“@style/Theme“>
<item name=“windowBackground“>@color/transparent</item>
<item name=“windowIsTranslucent“>true</item>
<item name=“windowAnimationStyle“>@style/Animation</item>
复制代码
在下面添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“windowNo*“>true</item>
<item name=“windowDisablePreview“>true</item>
复制代码
在下面添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
搜索:
<item name=“windowContentOverlay“>@null</item>
<item name=“backgroundDimEnabled“>false</item>
复制代码
添加:
<item name=“windowShowWallpaper“>false</item>
复制代码
在\framework\framework-res\res\drawable-hdpi下添加一张图片
screen_background_abcdefg.9.png
ok!保存,回编译,在dist文件夹下找到framework-res.apk,用winrar打开
把resources.arsc拷贝到原framework-res.apk中,
在原版\framework-res\res\drawable-hdpi中添加
screen_background_abcdefg.9.png(建议ps成半透明背景图片)
保存,退出,把修改后的framework-res.apk拷贝到手机系统中覆盖
全部回复 (131)
2014-04-04 23:22:00
#62
默默哦
2014-04-05 00:04:00
#63
看看
2014-04-06 16:12:00
#64
as发顺丰
2014-04-06 17:04:00
#65
刚刚讨厌好好沟通
2014-04-07 23:46:00
#66
lbetpgadT
2014-04-08 08:35:00
#67
士???
2014-04-15 08:38:00
#68
呃呃呃额额
2014-04-15 11:41:00
#69
哦哦陌陌摸摸哦哦OK啦了
2014-04-16 20:20:00
#70
11
2014-04-16 22:46:00
#71
呵呵
2014-04-25 18:56:00
#72
操操操操你妈
2014-04-28 11:17:00
#73
。。。。。。
2014-04-28 17:57:00
#74
模型我我
2014-04-30 21:47:00
#75
啦啦啦
2014-04-30 22:13:00
#76
[图片]BWin娱乐城特别推出5月1号至3号充值赠送20%的活动。没有上限.注册网址http://url.cn/M53xJS。BWin娱乐城 是一个绝对公平公正没有机器人的平台。还有幸运抽奖。百分百中奖。50元提现5分钟绝对到账!在这段时间内招聘3名实力一级代理。反水85%。有意请联系客服。
使用【豪迪QQ群发器 2014】自动发送,内容与本软件无关!
使用【豪迪QQ群发器 2014】自动发送,内容与本软件无关!
2014-05-01 06:27:00
#77
ffgghhjjj
2014-05-04 10:51:00
#78
high兔兔
2014-05-04 15:31:00
#79
到这里恩
2014-05-06 22:01:00
#80
e
2014-05-10 14:41:00
#81
了考虑了了
登录 后才能回复
flag举报帖子