yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Thanks for the code, but my statusbar is looking a little weird, It seems the battery anf Network icon are getting little higher than the others icon and clock in my statbar
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rezarivani:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Alright it work
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
try dis buddy.....

<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:id="@+id/statusbarleftside" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
<RelativeLayout android:id="@+id/statusbarcenter" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" android:layout_alignParentLeft="true"/>
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toRightOf="@id/moreIcon" />
</RelativeLayout>
<RelativeLayout android:id="@+id/statusbarrightside" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" android:layout_alignParentRight="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_toLeftOf="@id/clock" />
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toLeftOf="@id/signal_cluster"/>
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" android:layout_toLeftOf="@id/statusIcons" />
</RelativeLayout>
</LinearLayout>

---------- Post added at 11:17 PM ---------- Previous post was at 11:16 PM ----------

dis code is ****ing gorgeous.... damn simple!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ™ God ™:
Could it work on gb?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Very nice! Can you share your battery icons perhaps? I don't think I've seen those before..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

The beauty of Method 2.5!

I would rewrite the op so there's just Methods 1 and 2.5, but I think it's good if people can actually start to understand what all this means..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Wow. A message from God. That's made my day. :)

Yes, this will work on Gingerbread. Gingerbread statusbars don't have as many options as ICS but you can still mod them.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ™ God ™:
Thanks :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Dat would be better brov.... i so much dis +id/statusbarleftside

yhu invented something great!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Use the Newer Code from whalesplaho but look at this.

Nothing is changed except that battery moving a little bit to the left :confused;
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Woooooooooopssss.... i only added android padding code brov!!!

just use tha former code but Tickle, dats how tha placement will be brov.. dnt worry!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Nvm brov thanks for your help, Anyway I started to learn a little bit from the code, But the thing that I still can't understand is :

1. What Line Should I Change if I want to move the Clock to the Left?

2. If I want to put the network to the far right of the statusbar (Assuming the Battery already moved to the right) and the Battery on its left, What I need to do?

Sorry for asking you a lot of question, But i'm really interested to know about this xml editing method for the statusbar :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
dats easy brov.... what yhu need to know is what each code does!

but dnt get dis "2. If I want to put the network to the far right of the statusbar (Assuming the Battery already moved to the right) and the Battery on its left, What I need to do?"

<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:id="@+id/statusbarleftside" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
<RelativeLayout android:id="@+id/statusbarcenter" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" android:layout_alignParentLeft="true"/>
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toRightOf="@id/moreIcon" />
</RelativeLayout>
<RelativeLayout android:id="@+id/statusbarrightside" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" android:layout_alignParentRight="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_toLeftOf="@id/clock" />
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toLeftOf="@id/signal_cluster"/>
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" android:layout_toLeftOf="@id/statusIcons" />
</RelativeLayout>
</LinearLayout>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rezarivani:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Alright sir soon I will release the thread and make yours credit from thoose code.

And thank you anyway ^^

Sent from my ST18i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Yes that exactly what I wanted to know, If I know what each code do it'll be easy for me to try made my own layout :D

Hmm let me explain it like this

|Clock|------|Notification|------|Battery|Network|

Is that clear enough? :D:D:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Are you sure you want your battery icon on the right of the statusbar? In your previous post, you said you wanted it on the left..

Where do you want to put the status icons? (That's things like Bluetooth, GPS, etc.)

This is actually easier than it looks at first. One important trick to master..look at the id's on each line. Those will tell you what each line is responsible for.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Well yes, Actualy I ask this is to know which line is responsible by comparing from the old code :D

The thing that I just understand is the code responsibe to switch position of an icon (Like Switching Position of clock with the network using the old code) , I just still cannot understand which code/line I must change to bring out an icon from the left side of statusbar to the right side
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
> Dnt know bout dis but i guess dis is Opening Tag for Status Bar XML; <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">

> Left side elements Opening Tag; <LinearLayout android:id="@+id/statusbarleftside" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">

> Battery %; <TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />

> Battery Icon; <ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content"/>

> Closing Tag for Left Side; </LinearLayout>

> Opening Tag for Center Elements; <RelativeLayout android:id="@+id/statusbarcenter" android:layout_width="wrap_content" android:layout_height="fill_parent">

> Hidden; <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" android:layout_alignParentLeft="true"/>

> App Icons; <com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toRightOf="@id/moreIcon" />

> Closing Tag for Center; </RelativeLayout>

> Opening Tag for Right Elements; <RelativeLayout android:id="@+id/statusbarrightside" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">

> Clock; <com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" android:layout_alignParentRight="true" />

> Network; <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_toLeftOf="@id/clock" />

<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toLeftOf="@id/signal_cluster"/>

> Hidden; <ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" android:layout_toLeftOf="@id/statusIcons" />

</RelativeLayout>

</LinearLayout>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Thanks for this man! :D:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
No worries mate..... ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] macveriz:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Hay bro, can you give me some ide how to make bottom status bar on mdpi stock ics? Where i first to go?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
tha settings alignment isnt correct & also i try to interchange Carrier text to Clock location & Clock to Carrier text location but everything was scattered totally....

Layout folder:- http://www56.zippyshare.com/v/17896799/file.html

Thanks...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
try dis buddy......
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] avirale123:
Friend apology these methods are compatible with GB
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Seems so but needs tweaking a bit.

Sent from Nypon using XDA app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BeYoung_CareRockz:
thank for your help bro :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Hey guys I have a question,

How to change the battery percentage indicator from "67%" to "67" ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Siddhesh:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Decompile your systemui.apk

Go to res\values\ and open strings.xml

Then search for this line

<string name="status_bar_settings_battery_meter_format">%d%%</string>

Replace it with this

<string name="status_bar_settings_battery_meter_format">%d</string>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Ok thanks for the quick response bro :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
hope it worked?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Hey guys, I have more question

If I want to change the "H" Symbol to "4G" Symbol what should I do?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
changing png in drawable-mdpi folder.........
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Well I do look into that folder, but there is nothing there related to network symbol, I found one inside another folder but when I change it nothing seems to take effect
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ssojyeti2:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Not necessarily in drawable mdpi. It will be in the folder that says your phones resolution
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
he is using an mdpi phone dats why i stated dat.....

---------- Post added at 04:20 PM ---------- Previous post was at 04:19 PM ----------

its there brov...... or checj drawable-hdpi if present!!!!

its towards down.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Tickle brov........ we missing yhu!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Does anybody knows how to add Network Upload and Download speed on the Statusbar? Just Like in the MIUI?

When I search google all that showed up is Tutorial how to make that appear on Ubuntu PC :/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MSGR:
Hi sir what I have to do if i get this error when i recompile my SystemUI?

Please Wait, Recompiling In Progress

[This May Take A While..]

Recompiling "SystemUI.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

----------------

I: Smaling...

I: Building resources...

C:\TickleMyAndroid\_working\SystemUI.apk\res\layout\status_bar.xml:7: error: Err

or parsing XML: not well-formed (invalid token)

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\mama\AppData\Local\Temp\

APKTOOL7453187600741489293.tmp, -I, C:\Users\mama\apktool\framework\1.apk, -S, C

:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\Sys

temUI.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

at brut.androlib.Androlib.build(Androlib.java:206)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

at brut.apktool.Main.main(Main.java:79)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:

\Users\mama\AppData\Local\Temp\APKTOOL7453187600741489293.tmp, -I, C:\Users\mama

\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M,

C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd

k-version, 15, --target-sdk-version, 15, -F, C:\Users\mama\AppData\Local\Temp\AP

KTOOL7453187600741489293.tmp, -I, C:\Users\mama\apktool\framework\1.apk, -S, C:\

TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\Syste

mUI.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:355)

... 6 more

----------------

Recompile Not Successful!

:(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Have you installed your framework on your PC?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Do you have tut to make status bar expander look like JB?

It's X-Ray with Tapatalk!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MSGR:
Yes I did and I have the latest TickleMyAndroid and SDK I really don't know how to solve this :crying:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Siddhesh:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Look at your error log first their is a error in status_bar.xml line no.7

U have messed up the code in line no.7 try to fix it and then recompile

Sent from my WT19i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MSGR:
I tried to make it work many time but still the same error :( can someone please recompile this SystemUI in zip file i attached? i edited status_bar.xml by Tickelfish way but no luck please someone help me..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] plegdroid:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

your just probably missing a >

at the end of that line. :)

edit can you post what you've got on that line, so we can check what's missing.

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Siddhesh:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Post ur status_bar.xml code so that someone can help u

Edit : Ok I jus got your problem it was in status_bar.xml in line no.7 as I said

<com.android.systemui.statusbar.StatusBarIconVie w.

Remove the space man.

Sent from my WT19i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

I was just about to post to say the same thing! Lol

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MSGR:
Thanks a lot you all that was the problem :victory:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
The error codes you get when de/recompiling can be very long-winded, but they do contain the information you need to find out what went wrong. So it's always worth just taking a deep breath and wading through all the text.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Siddhesh:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

+1

Friends always read your error log and try to understand the problem it will help you so much if you really dnt understand then post, people in xda are always ready to help you.

Sent from my WT19i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Am currently off PC brov, my charger got spoilt & no money to get another one. Am using a CM theme brov, sorry....:banghead:

Thanks a mill...:thumbup::thumbup::thumbup:

Sent from Nypon using XDA app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] frogerra:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Mate, do you have any tut to make status bar expander layout to look like this?!

It's X-Ray with Tapatalk!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

I'll have a look when I get home. Do you get any problems recompiling?

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

I wish to get a new charger soon..... Gosh!!!

Sent from Nypon using XDA app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
No Problem when recompiling, idk whats wrong..

is the code alright? or it has some wrong lines?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
If i am, right you "just" copied Ticklefishs code? But are you sure, that you are on the same ROM as the sample and you do not have to adapt/transfer the @ids and else?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Just compare tha code with tha ones in OP, yhu should be able to solve it out......

Sent from Nypon using XDA app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Re: [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!

Yes, I did that, Will do some research when I get home.. I'm still at school

I use the code from the OP