Android 台灣中文網

標題: ~~~美化課程 (二)~~~4.1.2 狀態列透明 & 改時間顏色 [打印本頁]

作者: fish613    時間: 2013-6-10 19:29
標題: ~~~美化課程 (二)~~~4.1.2 狀態列透明 & 改時間顏色
本帖最後由 fish613 於 2013-7-13 15:25 編輯

4.1.2 狀態列更改成透明 以及 狀態列時間更改顏色

本教學只適合4.1版本

一、狀態列透明:

1. 反編譯 SystemUI.apk

2. 使用記事本打開 SystemUI/res/layout/tw_super_status_bar.xml  

    尋找  android:background="#ff******"    (#ff******" 數值不一定,更改為"#00000000" )

    <com.android.systemui.statusbar.phone.StatusBarWindowView android:background="#ff000000"     android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

    更改後儲存
   
2. 打開 SystemUI/res/values/drawables.xml

    尋找 "status_bar_background">#ff******</item>      (#ff******" 數值不一定,更改為"#00000000" )

    更改後儲存

二、狀態列時間改顏色

1. 打開 SystemUI\res\layout\tw_status_bar.xml

    尋找 <com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
        

android:textColor="#ff******"    (#ff******" 數值不一定,更改為你想要的顏色 )


                               
登錄/註冊後可看大圖




   更改後儲存

--------------------------------------------------------------------------------------------------------------


三、三個檔都更改完後,將 System 目錄回編譯回去,再依回編譯教學將檔案置換回去原先的 SystemUI.apk



小提醒:有關狀態列的美化,不外乎電池改100%、訊號圖、WIFI圖、3G圖以及本教學的透明化及時間顏色,
                     建議要美化的,先從廚房開始改電池,然後再從廚房下載回來的檔案用來反編譯更改透明度或時間顏色,
                     最後才是訊號圖、WIFI圖、3G圖,因為這些圖只需要透過RAR就可以更換了,
                     不然根據我的經驗,有可能在反編譯後的文件內,找不到要更改的字串.




~~~美化資源~~~APK&ODEX 合併工具 _ 4.1.2 可用 _ 附教學連結
~~~美化課程 (一)~~~systemUI.apk 反編譯及回編譯教學
~~~美化課程 (三)~~~下拉通知透明~~~自訂背景可圖片、可透明
~~~美化課程 (四)~~~調整下拉9鍵順序
~~~美化課程 (五)~~~調整下拉欄文字顏色
~~~美化課程 (六)~~~修改電量1%計算               
作者: qqq7788989    時間: 2013-6-11 20:21
有沒有擬修改後的圖片啊~
作者: fish613    時間: 2013-6-11 22:20
qqq7788989 發表於 2013-6-11 20:21
有沒有擬修改後的圖片啊~



                               
登錄/註冊後可看大圖

作者: kathy5134    時間: 2013-6-21 21:06
這麼好的文章 都沒什麼人評分
我是靠大大你的教學 改成功的
感謝^__^
作者: chun0927    時間: 2013-6-27 15:20
這個也要設定權限嗎?
作者: chun0927    時間: 2013-6-27 23:20
謝謝大大的教導哦:D
作者: chun0927    時間: 2013-6-27 23:35
甚麼whatsapp整個通知列變白色
有方法嗎?
作者: a5818r    時間: 2013-7-4 18:47
大大  請問 黑框的字體顏色  路徑是甚麼???

作者: a5818r    時間: 2013-7-4 19:34
a5818r 發表於 2013-7-4 18:47
大大  請問 黑框的字體顏色  路徑是甚麼???

還是不行欸 :(((
作者: mayx82833777    時間: 2013-7-11 09:38
大大~我找不到更改時間顏色的那個英文!

這是我反編譯出來的!可以請大大幫我看一下嗎?謝謝!

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
        </LinearLayout>
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
作者: star0989    時間: 2013-7-13 17:52
剛剛試
結果4.0不能用
狀態欄會錯誤

不然我也好想要改 :(((
作者: star0989    時間: 2013-7-13 19:52
還是感謝大大的反編譯和回編譯教學

學到不少 :D
作者: 李俊毅1    時間: 2013-7-20 16:51
請問要先ROOT嗎?  小弟我是新手  謝謝
作者: 蔡迪迪兒    時間: 2013-7-21 04:32
請問那個狀態列的顏色可以不要透明的嗎
可以選自己喜歡的顏色去改嗎  

作者: NekomimiRori96    時間: 2013-7-21 22:16
呃....因為您貼在板凳那樓的圖片沒有辦法看出是不是我要的效果

所以前來請教

我是想要能夠透明能夠看到桌面的圖片

因為設定桌不時,明明準備大小是剛剛好的,但是種會被上面的狀態列給切掉

因此想要上面那一條變的透明

您那張圖的左上角的那三個標誌似乎變得透明了?是由於整條狀態列變透明的關係一起透明了

還是您說教學中的變透明是指標誌?

還麻煩您回復了   可以的話希望您能付上桌面圖  讓我看看效果
作者: fish613    時間: 2013-7-22 05:57
NekomimiRori96 發表於 2013-7-21 22:16
呃....因為您貼在板凳那樓的圖片沒有辦法看出是不是我要的效果

所以前來請教


                               
登錄/註冊後可看大圖

作者: 25327678    時間: 2013-8-1 14:40
謝謝大大的分享
作者: cjohnjohn    時間: 2013-8-17 16:38
本帖最後由 cjohnjohn 於 2013-8-17 11:40 編輯

版大你好,想請問一下,你知不知道鎖屏的狀態列如何改改透明?

還有你在16樓的貼圖中,你的桌面有一個圓球,應該是流量控管吧,請問是什麼app?

謝謝
作者: www.eternity.tw    時間: 2013-8-26 18:30
請問怎麼修改?
我要把他移到電腦 用電腦開啟 手機內部儲存 都找不到檔案~~ 檔案就像憑空消失一樣
但 RE管理器 卻看得到@@"
作者: fish613    時間: 2013-8-26 19:00
www.eternity.tw 發表於 2013-8-26 18:30
請問怎麼修改?
我要把他移到電腦 用電腦開啟 手機內部儲存 都找不到檔案~~ 檔案就像憑空消失一樣
但 RE管理 ...

在RE裡面,把要複製出來的檔案 長按 ,會出現選項,選 ZIP壓縮此檔,
之後要用電腦複製的時候,先拔掉USB再重接,你才會找到檔案
作者: timmy0277    時間: 2013-9-7 14:31
好繁復的手續哦 繼續摸索中...
作者: a084904    時間: 2013-9-9 19:17
狀態列不能改成透明..可是其他顏色可以 請問還有方法改嗎 sony 4. 1 2
作者: joentyi7    時間: 2013-9-26 21:21
謝謝版大的教學。
作者: babyfafa    時間: 2013-10-23 15:07
請問有 4.2 的教學嗎  >  <? 我怎麼爬文都找不到阿 ................
作者: sdfgsdfgsdfg    時間: 2013-10-23 16:29
需要

root




作者: pjcks    時間: 2013-11-16 15:06
2. 打開 SystemUI/res/values/drawables.xml

    尋找 "status_bar_background">#ff******</item>      (#ff******" 數值不一定,更改為"#00000000" )
    更改後儲存
上面的打開後跟你的不一樣
status_bar_background">@drawable/status_bar_barra</item>

作者: swat6134    時間: 2014-7-16 01:17
簡單又好用的方法,感謝樓主的用心
作者: MMTMM    時間: 2015-11-4 12:39
状态栏透明成功,就是和锁屏有点不搭
作者: zrcys0205    時間: 2016-3-16 00:07
thxthxthxthx




歡迎光臨 Android 台灣中文網 (https://apk.tw/) Powered by Discuz! X3.1