[SOURCE][STATUSBAR]Statusbar Greper 2[UPDATE-13JAN2013]
this mod could change your statusbar look with ease...
-enable to change the position of clock-notification icon-battery n data icon-also carrier image
-enable change ur statusbar background (its need a compiled 9.png in other word u have to create 9.png with draw9patch and compile it using apktool or eclipse or u can just find some apk that consist of 9.png and simply extract it pick the 9.png n use it. but this is not a must. use ordinary png file also welcome.. it'll strech in lanscape mode).
-enable to change carrier image
UPDATE 2
rewriting code from scratch and push into github,,,
https://github.com/jmkl/StatusBarGreper2
UPDATE 1.8.1
download here : statusbargreper 1.8.1
ChangeLog :
-fix some feature not show in ICS
UPDATE 1.8
ChangeLog :
-customizable icon data - datainout - battery (without reboot.. easy as fcuk)
- 3 mode of battery (Text mode - Battery Line mode - Icon Mode)
- Adding Traffic State (like miui v4)
-Overlaping signal data & data inout icon (like miui v4 i guess)
-center and right side clock with ability to show and hide days and am/pm (Customizable font and text color)
HOW TO APPLY THIS VERSION
NOTE : Ur ROM must be signed by dsixda or else signer.. because we need to add another permission into SystemUI (i dunno why i do this
because i write this code as 3rd party apps using android SDK)
1. decompile ur SystemUI.apk
2. decompile my dcsmsSystemUI.apk
3. go to dcsmsSystemUI/smali/ copy those in folder into ur SystemUI/smali
4. open ur SystemUI/res/layout/status_bar.xml
modify the code just like the code below
5. open ur SystemUI/AndroidManifest.xml and add this line below
<uses-permission android:name="android.permission.MANAGE_USB" />
6. build ur SystemUI
7. drag n drop the folder assets in dcsmsSystemUI into ur SystemUI
8. sign ur SystemUI
9. install/push statusbargreper 1.8
10. push ur SysteUI n Enjoy
this mod could change your statusbar look with ease...
-enable to change the position of clock-notification icon-battery n data icon-also carrier image
-enable change ur statusbar background (its need a compiled 9.png in other word u have to create 9.png with draw9patch and compile it using apktool or eclipse or u can just find some apk that consist of 9.png and simply extract it pick the 9.png n use it. but this is not a must. use ordinary png file also welcome.. it'll strech in lanscape mode).
-enable to change carrier image
UPDATE 2
rewriting code from scratch and push into github,,,
https://github.com/jmkl/StatusBarGreper2
UPDATE 1.8.1
download here : statusbargreper 1.8.1
ChangeLog :
-fix some feature not show in ICS
UPDATE 1.8
ChangeLog :
-customizable icon data - datainout - battery (without reboot.. easy as fcuk)
- 3 mode of battery (Text mode - Battery Line mode - Icon Mode)
- Adding Traffic State (like miui v4)
-Overlaping signal data & data inout icon (like miui v4 i guess)
-center and right side clock with ability to show and hide days and am/pm (Customizable font and text color)
HOW TO APPLY THIS VERSION
NOTE : Ur ROM must be signed by dsixda or else signer.. because we need to add another permission into SystemUI (i dunno why i do this
because i write this code as 3rd party apps using android SDK)
1. decompile ur SystemUI.apk
2. decompile my dcsmsSystemUI.apk
3. go to dcsmsSystemUI/smali/ copy those in folder into ur SystemUI/smali
4. open ur SystemUI/res/layout/status_bar.xml
modify the code just like the code below
Code:
<?xml version="1.0" encoding="utf-8"?> <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants" xmlns:android="http://schemas.android.com/apk/res/android"> <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true"> <in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" /> </LinearLayout> <com.android.systemui.statusbar.IconMerger android:gravity="right|center" android:id="@id/notificationIcons" android:layout_width="50.0dip" android:layout_height="fill_parent" /> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true"> <in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent"> <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" /> </LinearLayout> </LinearLayout> </in.jmkl.dcsms.statusbargreper.DcsmsLayout> <in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" /> </RelativeLayout> <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="#ffdddddd" 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="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip"> <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" /> <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" /> </ImageSwitcher> <com.android.systemui.statusbar.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="@android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> </com.android.systemui.statusbar.TickerView> </LinearLayout> <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#0033b5e5" android:gravity="left|center" android:id="@id/date" android:background="@drawable/dcsms_tits_bg" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" /> <in.jmkl.dcsms.statusbargreper.BatteryBar android:layout_width="fill_parent" android:layout_height="wrap_content" /> </com.android.systemui.statusbar.StatusBarView>
<uses-permission android:name="android.permission.MANAGE_USB" />
Code:
<uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7. drag n drop the folder assets in dcsmsSystemUI into ur SystemUI
8. sign ur SystemUI
9. install/push statusbargreper 1.8
10. push ur SysteUI n Enjoy
Statusbar Greper 1 and update 2 from xda
Post a Comment