Android 台灣中文網
標題: ~~~美化課程 (五)~~~調整下拉欄文字顏色 [打印本頁]
作者: fish613 時間: 2013-7-8 06:29
標題: ~~~美化課程 (五)~~~調整下拉欄文字顏色
本帖最後由 fish613 於 2013-7-13 15:28 編輯
此教學經過本人及 kathy5134 的測試,確定 I9070、I9300可用,其他機型請自測。
反編譯 systemUI.apk
反編譯指令複習一下 apktool if framework-res.apk
apktool d systemui.apk
一、下拉時間、日期:
打開 res\layout\tw_status_bar_expanded_header.xml
搜索 android:id="@id/clock" , 在前面添加 android:textColor="#ffffff00"
android:id="@id/date" , 在前面添加 android:textColor="#ffffff00"
顏色自己改,
二段代碼中間要有1個空格,與前一段代碼也是,比須注意喔!!
二、正在進行、通知、清除:
打開 res\layout下的tw_status_bar_expanded.xml
搜索 android:textColor="@color/notification_category_color"
修改成 android:textColor="#ffffff00" (大概有3組代碼)
搜索 <TextView android:textSize="@dimen/status_bar_expanded_notification_clear_button_text_size" android:textColor="@color/tw_status_bar_clear_btn_text"
將 android:textColor="@color/tw_status_bar_clear_btn_text" 改成 android:textColor="#ffffff00"
回編譯 systemUI , 指令 apktool b systemui ,剩下的檔案替換請自行爬文。
反編譯 framework-res.apk
指令 apktool if framework-res.apk
apktool d framework-res.apk
三、正在進行、通知 (內容):
打開 res\values的styles.xml
搜索 <style name="TextAppearance.StatusBar.Icon" parent="@style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">15.0dip</item>
<item name="textColor">#ff9b9b9b</item> <==改成自己要的顏色
搜索 <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffe6e6e6</item> <==改成自己要的顏色
搜索 <style name="TextAppearance.DeviceDefault.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffd7d7d7</item> <==改成自己要的顏色
回編譯 framework-res ,指令 apktool b framework-res , 檔案替換請爬文。
將修改後的2個檔案,替換回手機,記得改權限3讀1寫
~~~美化資源~~~APK&ODEX 合併工具 _ 4.1.2 可用 _ 附教學連結
~~~美化課程 (一)~~~systemUI.apk 反編譯及回編譯教學
~~~美化課程 (二)~~~4.1.2 狀態列透明 & 改時間顏色
~~~美化課程 (三)~~~下拉通知透明~~~自訂背景可圖片、可透明
~~~美化課程 (四)~~~調整下拉9鍵順序
~~~美化課程 (六)~~~修改電量1%計算
作者: fish613 時間: 2013-7-8 06:32
附上 kathy5134 的美化作品