Free Android Tricks


Change Your Statusbar look

Utsav Verma / / 0
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


rewriting code from scratch and push into github,,,

UPDATE 1.8.1

download here : statusbargreper 1.8.1
ChangeLog :
-fix some feature not show in ICS
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)

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 
<?xml version="1.0" encoding="utf-8"?>
< android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
    <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" />
            < 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" />
        <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" />
    <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">
            < android:layout_width="25.0dip" android:layout_height="25.0dip" />
            < android:layout_width="25.0dip" android:layout_height="25.0dip" />
        < 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" />
    < 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" />
5. open ur SystemUI/AndroidManifest.xml and add this line below 

<uses-permission android:name="android.permission.MANAGE_USB" />

    <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" />
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

just simply decompile my SystemUI.apk
go to smali folder and copy the "in" folder into ur smali

then go to your /res/layout/ open statusbar.xml.and modify some line. so its look like below

here is the quick explanation about the code :
this mod is bind my customlayout >> in.jmkl.dcsms.statusbargreper.DcsmsLayout
the 1st child of this layout is the linearlayout that contain of carrier image
the 2nd child of this layout is notificationicon
the 3rd child of this layout is contain signal icon n battery icon(since i use USSR that contain EDT i put it there)
only 3 child allow on this customlayout...

those layout is the default one.. and here is the magic happen ..install StatusBar Greper.apk press menu or u can press the action button.
and play around with it....once u press it, it will affect the statusbar immediatly..easy as f***

please report bugs or something.

NB... u need quickpic to run this apps
download here

Click image for larger version

Name: SC20121106-140516.png
Views: 4365
Size: 38.5 KB
ID: 1460873   Click image for larger version

Name: SC20121106-140527.png
Views: 3631
Size: 43.5 KB
ID: 1460874   Click image for larger version

Name: SC20121106-140533.png
Views: 2930
Size: 37.7 KB
ID: 1460875   Click image for larger version

Name: SC20121106-140544.png
Views: 2881
Size: 38.8 KB
ID: 1460876  
File Type: apkdcsmsSystemUI.apk - [Click for QR Code] (303.5 KB, 2031 views)
File Type: apkstatusbargreper 1.8.apk - [Click for QR Code] (788.3 KB, 2196 views)

Utsav Verma

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut odio. Nam sed est. Nam a risus et est iaculis adipiscing. Vestibulum ante ipsum faucibus luctus et ultrices.
Follow me @Bloggertheme9


Recent Comments

click here