Quantcast
Channel: xda-developers - Android Themes
Viewing all articles
Browse latest Browse all 4090

[MOD][GUIDE][TW][4.1] Status bar and notification panel color changer for JB TW ROMs

$
0
0
Hi guys,
today I'm here to show you how can you apply the status bar and notification panel color changer mod of sir @b16h22 on your 4.1 TW ROM..... this is a really easy and excellent mod which will help you have your desired color on your notification panel and status bar






Requirements:
1. Brain
2. Patience
3. Experience
4. apktool or something like it










How to apply status bar color changer:

1. Decompile your SystemUI.apk

2. Go to res/layout/tw_status_bar.xml(if you're device is single sim)/tw_status_bar_dual.xml(if your device is dual sim)

3. Find this:

Code:

<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
put this above it:

Code:

<com.b16h22.statusbar.StatusBar
android:id="@+id/status_bar" android:layout_width="fill_parent" android:layout_height="fill_parent" />

4. Attach the contents of colorchangerfiles.zip to your decompiled SystemUI

5. Recompile and now decompile again

6. Time for id matching......Go to res/values/public.xml and find this:

Code:

<public type="id" name="status_bar" id="*x********" />
take it's public id and go to smali/com/b16h22/statusbar/StatusBar.smali

and replace the public id you got on line no.23 with:

Code:

const v2, 0x7f090026
7. Recompile, sign, push with StatusBarMods.apk, reboot and enjoy
!!!







How to apply notification panel color changer:

1. Decompile your SystemUI.apk

2. Go to res/layout/tw_status_bar_expanded.xml(if your device is single sim)/ tw_status_bar_expanded_dual.xml(if your device is dual sim)

3. Find line no.5 which is this:

Code:

<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
put this above it:

Code:

<com.b16h22.statusbar.Pulldown
android:id="@+id/view" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_weight="1.0" />

4. Attach the contents of colorchangerfiles.zip to your SystemUI

5. Recompile and decompile again

6. Time for id matching...... go to res/values/public.xml and find this:

Code:

<public type="id" name="view" id="*x********" />
take it's public id and go to smali/com/b16h22/statusbar/Pulldown.smali

and replace the public id you copied with this on line no.23 with:

Code:

const v2, 0x7f090027
7. Recompile, sign, push with StatusBarMods.apk, reboot and enjoy !!!









Link:

colorchangerfiles.zip:

https://db.tt/oOdqutV7

StatusBarMods.apk:

https://db.tt/OiiJsI3V










Credits:
@b16h22 for making

Viewing all articles
Browse latest Browse all 4090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>