yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Ticklefish, pl help

Hey Ticklefish,

I am attaching my SystemUI. I tried centering the clock with your "Best Method" but it fails all the time with compile error. Please can you do it for me. I need the Clock centered...id cons on right and notifications and the data speed on left. All the code is there. All I request you to is center the clock with Best method. I am running GB 2.3.7 on xperia Sola

Thanking you in Anticipation. Your efforts are duly appreciated,.....thx pressed.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rakz992:
Bro could you help me in making the systemUI like in ios7 with battery to the right end and signal_cluster to the left end and clock in the center :) i've attached the status_bar.xml ,thanks in advance :)

EDIT : got it!! thanks anyways :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Sorry for the delay, it's been a bit busy recently. It looks like the xml files you need to change are the "gemini" ones. So that's the gemini_status_bar.xml, gemini_signal_cluster_view.xml, etc. The gemini_status_bar.xml in particular isn't very different to the normal status_bar.xml. :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I'm not really understanding what you're referring to. Can you share your code please?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
No, not without your framework-res.apk. I'll need that to be able to decompile your SystemUI.apk.

If you want help with your compiling, I'm happy to provide it. But I do need to know what your compile error is.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
I attach herewith my System UI and framework-res. Sorry for not providing the framework. I am giving you the Systemui (working without code to center clock) without changing the arrangement as you can then insert the code to center the clock in the best way.I tried analyzing the errors but could not as all were brut errors and I could not understand head or tail of it. I am sorry I don't understand the errors...so unable to tell u what they mean ...

Pl accommodate me as I am not that great a developer as you are. Please center my clock so the notifications do not overlap any icons or clock by using your best method. We rely for our needs on developers like you...Thank you. Await your response.

Thanks already pressed
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ghostbusted:
Haha already solved it ... And i put your merge wifi signal too Thx [MENTION=4315551]Ticklefish[/MENTION] :beer::beer:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] G.M.L:
Can someone please tell me the way to move battery from right to the left side?

Στάλθηκε από το LG-E400 μου χρησιμοποιώντας Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] G.M.L:
Someone????

Στάλθηκε από το LG-E400 μου χρησιμοποιώντας Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
Without really knowing how your statusbar is locking like, I would suggest to try to move this, or even similar like this, battery lines:

<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/dock_battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" android:layout_marginEnd="@dimen/status_bar_battery_cluster_text_margin" />
<ImageView android:id="@id/dock_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<com.android.systemui.statusbar.policy.CircleDockBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_dock_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom|left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" android:layout_marginEnd="@dimen/status_bar_battery_cluster_text_margin" />
<ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />

just below the line

<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">

I think, you also have to wrap a linear layout tag among the moved lines, including the same attributs like in the layout where the lines have been previously....hope this helps and if its only to put you on the right way :)!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Ticklefish,

I attached my framework on previous post.I am waiting for your response. I tried centering using your Best method to avoid any overlapping of notifications on icons but tons of brut errors compiling..... no luck so far. Humbly request you again to help me rearrange my status_bar.xml so I can also have a centered clock....thx.:crying:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mvoid533:
It works welll on my neo

Thanks

Sent from my Xperia X-666 rev.99, Devil inside not intel inside
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Sorry Tickle fish, I but my status bar is lost and not displayed at all. Now what to do... help needed
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Tickle fish, the file given by you was flashed via recovery, I but I lost my statusbar completely. What went wrong and how can it be fixed... awaiting your response
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
If you did not made a backup to restore, then only flash the rom on top again. Or only exclude your original systemui from rom zip and include it in a flashable zip and install this...will bring you your statusbar back.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
I have my backup. But I wanted tickles help in centering my clock without notifications overlap. Rodman thanks for your post. Tickle plans help

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
center clock without notification overlap

HI ticklefish...

To make things easier for you, I attach my systemui wherein I have centered clock and the clock goes up when notification arrives. The only problem lies regarding icons like signal and battery which are overlapped. Could you now rearrange so that notifications do not overlap the icons in statusbar.

I have given you my framework in earlier post
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Rodman thx. Will try... what is the holocaust wallpaper string in your post.. will ur code work for Xperia GB 2.3.7 stock rom

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
It is the code from your first uploaded/attached systemui from here: http://xdaforums.com/showpost.php?p=45549036&postcount=1061
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Sorry Rodman but that is not my file. Belongs to someone else posted in the threads. My latest is 2 posts before..

Sent from my Xperia Sola on GB 2.3.7 stock rom

---------- Post added at 09:05 PM ---------- Previous post was at 08:48 PM ----------

It is the systemui-center clock. Apk

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
But in the systemui from this post: http://xdaforums.com/showpost.php?p=45820682&postcount=1080 there is no battery and no signal included? And a dateview is outside the linearlayout...I am just wondering, if this is really the right one :confused:? And can you please provide us a screenshot of a working statusbar.xml on your phone and where the icons are arranged as you like?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Well this is from Xperia Sola. The newer phones refer to I'd icons .attached is the screenshot

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Ah, the wonders of Gingerbread. The battery and signal icons are all part of the 'statusIcons' and the DateView is at the bottom because it only shows in the status bar on the expanded screen. It's easy to forget how much more flexible this all got when we went to ICS..

Anyway, [MENTION=5240311]rastigo[/MENTION], the reason you're getting overlaps in your second SystemUI is because you have the clock in a separate LinearLayout to your icons. Android is putting the icons over your clock because it doesn't think it's in the way. You've essentially done a variant on the Simple Method.

I've had another look at your first SystemUI.apk and I've made a new zip for you to try. I've also modded your second SystemUI and made a zip from that. Give them a try and let us know what happens. :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Will try and revert. Thx [MENTION=450989]Tickle[/MENTION] fish

Sent from my Xperia Sola on GB 2.3.7 stock rom

---------- Post added at 08:43 AM ---------- Previous post was at 08:31 AM ----------

The mod works like a charm in the#2 file. Can't thank you enough tickle fish.

In#3 I loose my battery percentage and brightness bar. This is not me complaining but my result for you to know what to do.

Thanks for #2 tickle. Can we do the #3 also to work as intended

Sent from my Xperia Sola on GB 2.3.7 stock rom

---------- Post added at 08:48 AM ---------- Previous post was at 08:43 AM ----------

With your permission may I share your mod on xda

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
hello guys. I am a very loving this forum. I love technology and thank you for everything that you have shared. conditions do not allow for well-qualified is limited, I asked you to help me mod status status bar as shown below. if I would like to thank you very much. Sorry my bad english

Tải xuống SystemUIofme.apk.zip (809.6 Kb)

I used mt11i android 4.0 base 77 ailecen kernel 1.5 and room uhd 5.0
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Dear tickle

All fixed using file#2,this is my final modded statusbar...loving it.

Thx Rodman and ticklefish specially. You guys rock

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
Sorry but can you please help me? :'(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
The battery percentage and brightness bar aren't in the rastigo3.zip because they're not in the original apk.

I'll need your framework-res.apk to decompile your SystemUI.apk.

Looking good!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Okay. Thx for everything tickle. I will try putting it and if I don't succeed in will get back to you. You have helped a lot. Thanks

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
I am using the same framework posted in my earlier post

Sent from my Xperia Sola on GB 2.3.7 stock rom
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Anytime!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] G.M.L:
This is my status bar.

Is there any way to move battery icon left of carrier name(WIND-F2G)?

Send from Greece !!!(G.M.L. V1-LG E400)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
;);)

Have you already tried this or something similar, what I suggested the other day?

http://xdaforums.com/showpost.php?p=45715436&postcount=1071

And for even more details, I think it would help, if you post your systemui and framework-res....;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
thank you for helping me. I'm using the mobile framework should not load up the file. I used 5.0 for neo v UHD room of @ jander1234 hihi if you can get free help me framerwok-res.apk file that is not! now because I do not have my friends pc! :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
thanks thansk

please this is file framework-res.apk and systemui.apk of me . please can you help me! thanhks you help me. ah can you add icon pin of honami on systemui. thanks

sr 4 bad eng

Tải xuống systemuiofme.apk.zip (777.4 Kb)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
Please can you help me? :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
I could try but sorry I do not know, what you mean with: can you add icon pin of honami on systemui
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kutemustsmile:
capital apologize for my limited English. I mean, like mods like this, but the more the battery icon on xperia z1 alone.:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] monster30:
buddy is there a limit for the systemui weight ?

for example my original systemui weights 1.02MB and after i edit like 8 images just changing the colors i recompile it and prepare it to push it his weight goes to 1.47MB ...and then i decompile it again to center the clock (because when i do everything at the same time i get an error) after recompile it again it goes back to 1.02Mb :silly: is that normal?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
There's no real limit, no. You don't really want it to be a full gigabyte but I don't think there's any actual size restriction.

The differences in the size of your file could be caused by what you're doing with the resources.arsc file and the META-INF folder.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] monster30:
oh ok thanks. Another 2 questions

1-wich way is the best to center the clock?

2-i was reading all the lines in my xml and in the one u use for the tutorial and some "codes" are in a different order, does that changes something to make it work ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bejunk:
look on OP, he even has a point which is called 'the best method' (..for center clock) :)

2. no. this is nothing to care about :), only important is to edit the smal part u want properly, & dont break other stuffs.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] monster30:
i ask because of that,yes in the op it says that's the best one, but in a answer ticklefish says to use the method made by serajr :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bejunk:
hmm okay, & pleas dont get me wrong, but if u allready knewed ''to use the method by serajr''

why u asked again?:confused::confused: :P

also there isnt 'the best method' as we have many solutions to this, the best method is which looks for u most easily to do :) (in my case).

but going from this the most easy method would be to use exposed framework. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
The Xposed framework is very cool and very clever. Although if you know how to do mods yourself, you can put your own twist on them and even do something completely new. It all depends how far you want to go really..

If you do want to do the mod yourself, the best method is..the best method. But the first method is a lot simpler if you're new to modding xml.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bejunk:
agree :good:, i duno if u mean me, but atleast i get some small knowledge (compared to others like u & other devs) so dissasebling apk/make edits & this stuff is easy for me, and when sthz goes wrong i now , know 'what', thank u very much ticklefish as u helped me on my first steps in decompile. :) the only problem is now, that when i get stuck i cant solve this by searching as this is mostly a bit more afdvanced, so there not TuT out there.... in summer i go to a new school where i can study more about developing so i can understand smali's completly (hopefully).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
My New Years resolution was to know smali by the end of the year. So far it hasn't happened. But I'm getting there. When I'm not busy with kids and work and everything else, I'm learning Java. Give me a few decades and I'll have mastered it!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Dawn_ddw:
can somebody tell me how to change my data trafik 0.00K/s become 0KB/s ???
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] moparfreak426:
I like java

Sent from my SCH-I535 using Xparent Skyblue Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
Hey buddy, this guide is great. I was trying to apply The Best Method to center the clock, move the traffic meter (KB/s meter) to the left & leave the rest at right of my status bar, but that didn't succeed. OK, the clock is centered, but every thing is being beside the clock to the right (not even every thing, some icons disappeared). Here's my

status_bar.xml

attached below (just extract the rar). Can you take a look and help me to know what's the wrong please??

I'm using ICS XPERIA sola.

THANKS...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Me too. :)

Sure, I'll have a look when I can get to my computer. In the meantime, can you give me some before and after screenshots please? That'll help me work out what's going on.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
Hey, ignore what I wrote before (I noticed that Restart SystemUI utility isn't working perfectly for restarting the SystemUI. I mean just ignore :D). The Status Bar is arranged to 3 sections and that's OK, but I've 2 problems now:

1- the notifications is placed in the center section (beside the centered clock).

2- I don't know if I can explain this problem :rolleyes:. You know that when a notification upcomes (like sms or whatsapp message), it shows on the status bar and other icons goes up and disappear while showing the notification. The problem here is that when the notification shows, the text doesn't appear.

(Check the attachments) ;)

Can you help me please??. Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Contact ticklefish. That dude really helped me out.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
I've quoted his post in order to get help from him. Even though, I accept help from any skilled member if he really solved my problem.

Hey, you're using MT27i. Is this guide working on XPERIA sola (I'm asking because I also have XPERIA sola and I want to know if it worked)??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
It worked absolutely fine. You can get my systemUI on this thread. There is a screenshot too. But i am on gingerbread
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
Ooops, I'm using ICS.

Anyway, which method of the 2 methods did you use?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
I use best method
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
I've listed two problems in one of the previous posts (using the best method). Did you faced similar problems? If yes, can you help me to solve those 2 problems please?:rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Thats how my status bar looks like after the mod
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Sagic:
UP

UP !
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hi guys. Just to let you know that I haven't forgotten you all. I've recently changed jobs and my spare time has disappeared. It's 2:15 in the morning right now and I need to be up in less than 5 hours so I'm desperately trying to catch up with as much xda stuff as I can.

I'll reply to everyone in depth as soon as I can, which will hopefully be tomorrow.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
hi.. maybe someone can help me.. i have sony xperia ray and i flashed rom named xperia ultimate hd 5.0.1 and changed the language to hebrew with locale select and now my connectivity (data, mobile signal, wifi, battery) icons in the status bar are next to the clock and i want to move these icons to the right side..

screenshot attached
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Shouldn't be a problem. Just share your xml. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
If you still need this mod, can you provide a screenshot of your phone please?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
Thank you very much! I appreciate your help! The problem is that my brother is having the phone right now and he will be back in a week.. anyway, which xml file you need and where can i found it?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jackq:
thanks, but this move all "right" icons to center, including battery icon
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
[MENTION=4315551]Ticklefish[/MENTION], any chance to get your help with this one too? this time it's my friend's gt-n7000.. flashed custom rom based on jb 4.1.2 and again it messed up the status bar icons.. he want to have the all icons (battery, wifi/data, alarm clock, gps and etc) on the right, but clock on the center. if it possible, he wants the classic order of these icons (first - battery icon/percentage - then - cellular reception (signal bars+ h+), wifi\data, alarm clock and gps and others after that)

hope you'll accept to do this for him.. if you do, which files do you need me to send you to do this?

here's a screenshot that shows how it's currently looks like
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I should just need your statusbar.xml :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
This may seem like a stupid question, so forgive me if it is, but have you decompiled your SystemUI.apk?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
post edited

edit:

managed to fix the problem!

download status_bar.xml from here
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JohnHK:
Thanks. The problem of ticker has been solved, but the stamina mode and alarm icons is placed beside the centered clock like the attached screenshot. My status_bar.xml is also attached.....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
[MENTION=4315551]Ticklefish[/MENTION] ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Right, this seems straight-forward enough. It'll just take a bit of time. Something like this can't be hurried. I'm going to need your signal_cluster_view.xml and signal_cluster_text_view.xml as well.

Oh, and a screenshot would be very helpful if possible.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Thanks, I'll have a look shortly and let you know what's going on.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
here you go.. the files you've asked for

signal_cluster_text_view.xml

signal_cluster_view.xml

here's a screenshot

thank you very much, appreciate that!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
Phone bootlooping.. had to restore from backup
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Bootloops come from a malformed framework-res.apk. I thought your code was coming from SystemUI.apk?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
It is from SystemUI.apk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hmm..then you shouldn't have got a bootloop. Curious. If you used Tickle My Android, can you share your logs and history please? You'll find those in the user_files folder.