FORUMS
Remove All Ads from XDA

[SOURCE][STATUSBAR]Statusbar Greper 2[UPDATE-13JAN2013]

438 posts
Thanks Meter: 764
 
Thread Closed Email Thread
WHAT IS THIS??
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>
5. open ur SystemUI/AndroidManifest.xml and add this line below

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



OLD
Quote:

HOW TO APPLY THIS MOD??
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 tweak...so 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.
enjoy

Some Screeniez :

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


AND THEN...
IF U LIKE MY JOB...U KNOW WHAT TO DO



thanks to :
Code:
ALLAH SWT
all fellow donators
androidminang.com
ilmnss family
and u
Attached Thumbnails
Click image for larger version

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

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

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

Name:	SC20121106-140544.png
Views:	7321
Size:	38.8 KB
ID:	1460876  
Attached Files
File Type: apk dcsmsSystemUI.apk - [Click for QR Code] (303.5 KB, 8950 views)
File Type: apk statusbargreper 1.8.apk - [Click for QR Code] (788.3 KB, 12233 views)
The Following 68 Users Say Thank You to dcsms For This Useful Post: [ View ] Gift dcsms Ad-Free
 
 
8th September 2012, 11:14 PM |#2  
ztandroid's Avatar
Senior Member
Thanks Meter: 129
 
More
Wow!! Nice one sir!!
Unfortunately, I have recompiling problem on my Ubuntu. Sooo saad...
8th September 2012, 11:55 PM |#3  
emompong's Avatar
Senior Member
LUCENA CITY
Thanks Meter: 373
 
Donate to Me
More
wow. nice share! Reserved for now ..
9th September 2012, 12:00 AM |#4  
emjimadhu's Avatar
Senior Member
Flag Salem
Thanks Meter: 115
 
Donate to Me
More
This is a very good post like usual... thanks for this sir... you're awesome sir...

ALL I GOT IS INSANE ! !
9th September 2012, 12:59 PM |#5  
raika20's Avatar
Senior Member
Thanks Meter: 441
 
More
Great job as always sir jmkl

Sent from my GT-I9100 using Tapatalk 2
The Following User Says Thank You to raika20 For This Useful Post: [ View ] Gift raika20 Ad-Free
9th September 2012, 01:26 PM |#6  
Senior Member
Flag Mumbai
Thanks Meter: 607
 
More
WOW! you should be RT or something..
can this be used on galaxy fit too??
The Following User Says Thank You to Harpratap For This Useful Post: [ View ] Gift Harpratap Ad-Free
9th September 2012, 02:35 PM |#7  
dcsms's Avatar
OP Senior Member
Flag Padang
Thanks Meter: 764
 
Donate to Me
More
thanks all.... anybody try this hahahaha??
The Following 4 Users Say Thank You to dcsms For This Useful Post: [ View ] Gift dcsms Ad-Free
9th September 2012, 03:01 PM |#8  
evanlocked's Avatar
Recognized Contributor
Flag bandung
Thanks Meter: 3,395
 
More
Quote:
Originally Posted by kill3d

thanks all.... anybody try this hahahaha??

I will om jmkl
Will implemented it

Sent from my GT-S5360 using xda app-developers app
9th September 2012, 04:42 PM |#9  
AmalD's Avatar
Senior Member
Flag kozhikode
Thanks Meter: 2,824
 
More
someone modd this for C.O.D ROM


here is the systemui.apk
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (384.5 KB, 735 views)
9th September 2012, 05:53 PM |#10  
awhhe's Avatar
Junior Member
Flag Jakarta
Thanks Meter: 3
 
More
om jim , aku coba porting ini ke stockrom ko' malah fc ya systemui nya ??
10th September 2012, 03:44 AM |#11  
dcsms's Avatar
OP Senior Member
Flag Padang
Thanks Meter: 764
 
Donate to Me
More
Quote:
Originally Posted by awhhe

om jim , aku coba porting ini ke stockrom ko' malah fc ya systemui nya ??

Logcat please

Sent from my GT-S5360 using Tapatalk 2
Thread Closed Subscribe to Thread

Tags
battery bar, data traffic, signal bar, statusbar mod, statusbar tweaks
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes