綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[教學] ~~~美化課程 (二)~~~4.1.2 狀態列透明 & 改時間顏色

[複製連結] 查看: 13921|回覆: 28|好評: 10
跳轉到指定樓層
樓主
fish613 | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2013-6-10 19:29

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
本帖最後由 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%計算               
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 14碎鑽 +10 幫助 +14 收起 理由
cattttt~~ + 1 + 1 非常讃
qq08232 + 1 + 1 讚一個!
valosm73567 + 1 + 1 非常讚
a24060061 + 1 + 1 非常讚
f198327 + 1 + 1 非常讚
dwm90389 + 1 + 1 非常讚
betty8616 + 1
star0989 + 1 偶像,看完你的內容,讓我找到了活著的意義.
a5818r + 1
chiou841011 + 1 很給力!

查看全部評分

本帖被以下專題推薦:

收藏收藏24 分享分享 分享專題1
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

沙發
qqq7788989 | 收聽TA | 只看該作者
發表於 2013-6-11 20:21
有沒有擬修改後的圖片啊~
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
 樓主| fish613 | 收聽TA | 只看該作者
發表於 2013-6-11 22:20
qqq7788989 發表於 2013-6-11 20:21
有沒有擬修改後的圖片啊~



                               
登錄/註冊後可看大圖
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
kathy5134 | 收聽TA | 只看該作者
發表於 2013-6-21 21:06
這麼好的文章 都沒什麼人評分
我是靠大大你的教學 改成功的
感謝^__^
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
chun0927 | 收聽TA | 只看該作者
發表於 2013-6-27 15:20
這個也要設定權限嗎?

點評

替換手機內的檔案,都需要更改權限!!  發表於 2013-6-27 18:32
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
chun0927 | 收聽TA | 只看該作者
發表於 2013-6-27 23:20
謝謝大大的教導哦:D
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

7
chun0927 | 收聽TA | 只看該作者
發表於 2013-6-27 23:35
甚麼whatsapp整個通知列變白色
有方法嗎?
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

8
a5818r | 收聽TA | 只看該作者
發表於 2013-7-4 18:47
大大  請問 黑框的字體顏色  路徑是甚麼???

點評

下列代碼無用,正確改法請看 http://apk.tw/thread-305726-1-1.html  發表於 2013-7-13 14:56
反編譯後 在 systemUI.apk \res\values 下的 colors.xml 找到 <color name="notification_category_color">#ffadc1d6</color> 那個顏色代碼自己改  發表於 2013-7-4 19:24
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

9
a5818r | 收聽TA | 只看該作者
發表於 2013-7-4 19:34
a5818r 發表於 2013-7-4 18:47
大大  請問 黑框的字體顏色  路徑是甚麼???

還是不行欸 :(((
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

10
mayx82833777 | 收聽TA | 只看該作者
發表於 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>
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則