Tuesday, 29 September 2015

[Guide][LP] Theme Accent Colored SystemUI



Hi!
Meet me again :p with a copy-paste simple mod tutorial (without editing any smali) to give ur SystemUI runtime theme accent color change


Screenshots:


Requirements:
- know how to decompile, recompile, sign apk
- original SystemUI.apk

Steps:

- decompile SystemUI.apk

- open /res/values/colors.xml, add this

PHP Code:







<color name="somc_color_accent_dark">@android:color/somc_color_accent_dark</color









- open /res/values/ids.xml, add this

PHP Code:







<item type="id" name="theme_accent">false</item









- open /res/values/styles.xml
- find

PHP Code:







<style name="TextAppearance.StatusBar.Expanded.Clock" 









- change

PHP Code:







<item name="android:textColor">#ffffffff</item> 









to

PHP Code:







<item name="android:textColor">@color/somc_color_accent_dark</item









- find

PHP Code:







<style name="TextAppearance.StatusBar.Expanded.Date" 









- change

PHP Code:







<item name="android:textColor">#b2ffffff</item> 









to

PHP Code:







<item name="android:textColor">@color/somc_color_accent_dark</item









- open /res/drawable-xxhdpi, delete these png's

Code:


        ic_edit_settings
        ic_qs_auto_sync_on
        ic_qs_data_traffic_on
        ic_qs_hotspot_on
        ic_qs_lte_on
        ic_qs_nfc_on
        ic_qs_roaming
        ic_qs_screen_mirroring_on
        ic_qs_signal_in
        ic_qs_signal_out
        ic_qs_stamina_on
        ic_qs_throw_on
        ic_qs_volte_on
        ic_qs_wifi_0
        ic_qs_wifi_1
        ic_qs_wifi_2
        ic_qs_wifi_3
        ic_qs_wifi_4
        ic_qs_wifi_detail_empty
        ic_qs_wifi_full_0
        ic_qs_wifi_full_1
        ic_qs_wifi_full_2
        ic_qs_wifi_full_3
        ic_qs_wifi_full_4
        ic_qs_wifi_no_network


- open /res/drawable-hdpi, delete ic_tasklist_switch_normal.png

- download attached files, extract, merge it to ur decompiled SystemUI.apk

- save all changes, recompile, sign, push

- done

Note: Quick setting tile text isn't colored

Thanks to: Nathan Ali Ashari & serajr, as my inspirations ;)








Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot_2015-09-30-07-35-14.png<br/>Views:	N/A<br/>Size:	90.7 KB<br/>ID:	3490689
 

Click image for larger version<br/><br/>Name:	Screenshot_2015-09-30-07-36-49.png<br/>Views:	N/A<br/>Size:	83.0 KB<br/>ID:	3490690
 











Attached Files






File Type: zip SystemUI.apk.zip -
[Click for QR Code]
(47.1 KB)







No comments:

Post a Comment