移动叔叔

标题: 移动叔叔、首发(联想A60)下拉栏、全局代码图片修改教程 幸福de拾荒者 [打印本页]

作者: 幸福de拾荒者    时间: 2012-8-17 13:04
标题: 移动叔叔、首发(联想A60)下拉栏、全局代码图片修改教程 幸福de拾荒者
本帖最后由 幸福de拾荒者 于 2015-2-9 22:47 编辑

今天我教大家如何修改下拉栏的美化透明等~~(用机票砸我吧)

(转载此教程请注明出处)


大家也可以参考大哥的帖子:大哥主要是对下拉通知栏和上栏进行了详解:点此进入

状态栏透明 点此进入     需要安装JDK和java变量还要反编译 点此进入

修改代码(需要对SystemUI.apk进行反编译)SystemUI\res\layout\status_bar_tracking.xml

原代码位置一
  1. <com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
复制代码
修改为:
  1. <com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:background="#00000000" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
复制代码


原代码位置二

  1. <font style="font-size: 14pt"><font face="Times New Roman"><font color="blue"><font color="green"><font size="4"><View android:id="@id/space" android:background="@color/space_view_bg_color"</font></font></font></font></font>
复制代码


修改为:

  1. <font style="font-size: 14pt"><font face="Times New Roman"><font color="blue"><font color="green"><font face="宋体"><font size="4"><font color="royalblue"><View android:id="@id/space" android:background="@drawable/status_bar_background"</font></font></font></font></font></font></font>
复制代码



修改好后保存回编译
把回编译好的SystemUI.apk
用RAR
解压出来备用
再用RAR打开原生的SystemUI.apk

把回编译解压出来的resources.arsc拖进原生的SystemUI.apk
替换替换时选择存储)
classes.dex拖进原生的SystemUI.apk 选择标准压缩


接下来是修改图片(图片需要用ps软件处理成透明或者处理成你喜欢的颜色)

状态栏下面开始到最后一栏这块区域处理的图片是
(在SystemUI.apk  /res/drawable-mdpi里面)

    shade_header_background.9.png
    status_bar_close_on.9.png
    status_bar_background.9.png
    statusbar_background.9.png
    zzz_switch_panel_bkg.png
    title_bar_portrait.9.png

USB已连接到正通过USB与电脑连接这几个选项需要处理的图片是
(在framework-res.apk  /res/drawable-mdpi里面)

   status_bar_header_background.9.png
    status_bar_item_app_background_normal.9.png
    status_bar_item_background_focus.9.png
    status_bar_item_background_normal.9.png
    status_bar_item_background_pressed.9.png

数据连接蓝牙GPS等这个四方格处理的图片是
(在SystemUI.apk  res/drawable里面)

    zzz_light_fully.9.png
    zzz_light_low.9.png
    zzz_light_middle.9.png
    zzz_light_off.9.png
    zzz_panel_switch_btn_nor.9.png
    zzz_panel_switch_btn_pre.9.png
    zzz_sim_card_enable_background.9.png

图片修改完就可以直接拿到原来的apk用解压缩软件打开

把处理过的图片放在对应的文件夹替换掉原来的即可


                                                                        2012年8月17日 幸福de拾荒者

                                                           移动叔叔www.mobileuncle.com福建省莆田市仙游县


[attach]170126[/attach]






欢迎光临 移动叔叔 (http://bbs.ydss.cn/) Powered by Discuz! X3.2