yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Don't worry, I haven't forgotten you. Today's just a busy day! :)

Can you share your latest code please? It looks like we're nearly there, we just need to sort out that traffic text.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Sure. I won't do this now. Right now I've got only a few minutes to sort out an update to the tool that I use for all this but I will update the first page and[/] sort out this Liverpool dropdown screen soon. Time isn't on my hands right now..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I think I've worked this out. I've changed the close_on image to a transparent one 1 pixel big and I've replaced the carrier label with the Liverpool shield. Give this a try: http://www.mediafire.com/download.php?2qtz7y0g3machwk It should work.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
thanx mate!!it working!:) really glade..but it just the time at the right u forgot to delete..so it has 2 clock at the centre and the right sight...:(

i attach the screenshort...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Sigh...*facepalm*

I'll get to work on it straight away..

...

...

Right, try this out!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
I understand buddy.... thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
thanx mate...its now working perfectly! thank you for ur hard work...:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
I love dis brov.... how can i add a picture & whats tha resolution???
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] midun_dun:
help

hii Ticklefish..

can you help me to make clock in the center in ics stock rom for xmp ?

iam stil confuse for decompile apk.

sorry for my bad english
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Hi Ticklefish..

Can you build the centered clock flashable for me? I tried to do it myself but i'm stuck at Recompiling the SystemUI.apk

I Just Need All Stock ICS icon like budak_getah but for the battery can you change it to default blue ICS icon with percentage on it? And without Liverpool logo :)

Thanks in advance

Sent From My Xperia Mini ST15i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Okay i will sent you my Framework-res and SystemUI sometimes when my internet Connection became fast again

I'm stuck at Decompiling SystemUI and Recompiling Framework-res dude

Sent From My Xperia Mini ST15i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
How are you stuck? Are they not decompiling/recompiliing? What are you using to do the compiling with?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Android comes with two clocks already available. Here's the DigitalClock (with seconds) and AnalogClock in action. The AnalogClock doesn't look good if it's too small so wouldn't work on a statusbar but it looks quite nice here!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 1982Strand:
Great!

Finally i made it work :) Thanks for the mini-walkthrough ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 1982Strand:
Hmm, guess i spoke to soon.. I noticed a small issue. When the phone boots up, the statusbar is black. No matter what i do it won't change.

But if i plug in the charger, i suddenly see icons again, it's like when the notification transition kicks in, i can see the normal (transparent) statusbar.

Can this be related to the background we specified in one of the lines? i noticed the android:background="@drawable/status_bar_background" - but there is no status_bar_background in drawables folder, there is a status_bar_bg, which i tried referring to instead, but same result..

It is referring to one of the xmls in drawables folder, right? Not one of the pngs or .9-pngs in drawable-hdpi?

See screenshots..

First 2 is when charger is plugged in..

Whoops, sorry for large size :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
A transparent statusbar? That could be tricky with the overlapping. I'm not quite sure what's going on here but that's got to be something to do with it.

Try doing this in stages. Center the clock without changing any background first and see if you have the same issue.

That background code refers to a png.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] SS-4050:
Well it always give me an error,I Used APKtool and Tickle my Android and both gives the same result

Sent From My Xperia Mini ST15i
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Sudanminipro:
How to get the battery as text only? are they icons? if yes could you provide those icons?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
Hi sir Tacklefish!

Im kinda a newbie In this Android mod thing and I have been reading your post for about an hour and a half now and I cant still understand it (*insert facepalm for me)

anyway can you make this happen for me? :o

So at this moment my status bar looks like this

I want it to look like this (clock center, wifi icon left)

if this isn't do-able can you please just center the clock? :o

I will attach my systemui & framework-res.apks

thanks in advance if you will look into this :D

oh by the way my phone is not an xperia its running on a ICS-AOSP based rom but from the my xml and the one you've posted are identical
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
[MENTION=4315551]Ticklefish[/MENTION] gotta question. As you can see I have no status bars. This happened after I put in the code for the center clock that you and I discussed some time ago via PM.

Is this a result of the code? If so, how can I fix it?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
Forgot pic.....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Erm...but you do have a status bar. There's one at the top of the screen... :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
I mean signal bars:confused:

Haters Make Me Famous

Deviant Development Team Member
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Okay, so the problem we have here is that the traffic text is aligned with the left side of your @id/statusbarrightside.

We need to change this section:

<LinearLayout android:orientation="horizontal" android:id="@id/rightsidebottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/rightsidetop">
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="right" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
</LinearLayout>

I don't think you need to put your traffic in its own LinearLayout but it won't cause any harm. This Layout is the same size as its content, in this case the traffic text, and is below @id/rightsidetop. But you need to also be aligned to the right side of the RelativeLayout that it's nested in, @id/statusbarinsiderightside. So..

<LinearLayout [COLOR="Red"]android:layout_alignParentRight="true"[/COLOR] android:orientation="horizontal" android:id="@id/rightsidebottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/rightsidetop" >
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="right" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
</LinearLayout>

Give this a try and see what happens.

With all these Layouts in your statusbar, it can get a bit confusing. It might be worth adding some colour to some of them with the android:background attribute. If you use a different colour for each, it can help you work out precisely what's going where.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Can you share the xml please?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
I will send it to ya when I get off work.

Haters Make Me Famous

Deviant Development Team Member
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] glfsd:
thank you master! you are a GENIUS! :good:

stupid me! I have looked at the code a thousand times and I had missed this particular :(

last problem with this code, when there are many notifications

[COLOR="Red"]I understood that this is not the problem.I checked the original code and is the same[/COLOR]
with notepad, use this plugin (can not remember the name),
very comfortable to see the "opening" and "closing" of a layout
[URL=http://www.imagebam.com/image/f5de8f324847224][IMG]http://thumbnails101.imagebam.com/32485/f5de8f324847224.jpg[/IMG][/URL] [URL=http://www.imagebam.com/image/12d5f0324847239][IMG]http://thumbnails101.imagebam.com/32485/12d5f0324847239.jpg[/IMG][/URL] [URL=http://www.imagebam.com/image/d74963324847252][IMG]http://thumbnails109.imagebam.com/32485/d74963324847252.jpg[/IMG][/URL] [URL=http://www.imagebam.com/image/56ca86324847267][IMG]http://thumbnails109.imagebam.com/32485/56ca86324847267.jpg[/IMG][/URL]

and I noticed this "orphan". this may be the error?
[URL=http://www.imagebam.com/image/0ab934324848498][IMG]http://thumbnails109.imagebam.com/32485/0ab934324848498.jpg[/IMG][/URL]

edit.

I understood that this is not the problem

thanks thanks again and......sorry my English :o
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
thanks for your response sir! but it ran with a bit of a problem, the wifi icon and the signal bar are completely gone, :(

also if it matters my phone is a dual sim phone but i only use 1 sim and i disable the other.

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

anyway, wow with that comprehensive tutorial! you are a legend and an inspiration here in XDA! wow in 3 years you're like god-level modder and like have your own theming tool, Google should be hiring your ass! anyway because of your tutorial im starting to understand this and so i tried my best to sort this out and ive found out there are two zzz_status_bar_gemini.xml so ive copied and pasted the codes from zzz_status_bar_gemini.xml to zzz_status_bar_gemini_cu.xml. i dont know if this is right thing to do lol i have NO clue what i am doing

anyway i recompiled it with your theming tool using the option recompile with original signature and got this following error

God, android moding is frustrating!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I was about to say that's not an orphan..

Look at the end of the line. This isn't an open tag so there is no need for an end tag.

This problem is to do with the way the more icon works.

Traditionally, the notification icons start on the left side of the statusbar and fill up the bar as new notifications come in. Once the icons threaten to clash with the right side of the statusbar, the more icon activates and we don't see any extra notification icons.

However, we've just moved the notification icons to a different part of the screen. Whatever would trigger the more icon normally now doesn't. So, if you get above a certain amount of notifications, the icons will start to squeeze the other icons on the statusbar.

With xml, there isn't much you can do to fix this. You could try a smali edit and actually change how the more icon works..but I have no idea how to actually do that..:(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Lol I don't think Google are very likely to hire me anytime soon...but thanks for the ego boost! :)

So you weren't sure if that was the right thing to do? Well..no. No, it wasn't. Lol

You have three status_bar.xml files in your apk: status_bar.xml, zzz_status_bar_gemini.xml and zzz_status_bar_gemini_cu.xml.

These are used in different setups, with different roms. We changed zzz_status_bar_gemini.xml only and it changed your statusbar.

Yes, it didn't change it the way we wanted it but it did change it. So this is the file we need to edit.

We did two mods and it didn't work so we need to figure out which one caused the problem. Can you try the center clock code that I mentioned in my previous reply please? If that works then we just need to work out the wifi issue.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Did you install framework-res.apk before you decompiled?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hmm..can you share your history.txt please?

This is still using the same apks you gave me right?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
yes its still the same systemUI.apk

history.txt

Tickle My Android v9.0. Theming History
tinyurl.com/ticklemyandroid

------------------------------------------------
Sun-05-04@2109 --- SESSION STARTED
Sun-05-04@2111 --- "SystemUI.apk" decompile succeeded, using "apktool_2.0.0b9.jar"
Sun-05-04@2124 --- "SystemUI.apk" recompile failed with original signature, using "apktool_2.0.0b9.jar"
Sun-05-04@2129 --- "SystemUI.apk" recompile failed with new signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Sun-05-04@2138 --- SESSION STARTED
Sun-05-04@2140 --- "SystemUI.apk" decompile succeeded, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@213 --- SESSION STARTED
Tue-05-06@215 --- "SystemUI.apk" recompile failed with original signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@1349 --- SESSION STARTED
Tue-05-06@1350 --- "SystemUI.apk" recompile failed with no signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@1411 --- SESSION STARTED
Tue-05-06@1412 --- "framework-res.apk" decompile succeeded, using "apktool_2.0.0b9.jar"
Tue-05-06@1414 --- "SystemUI.apk" decompile succeeded, using "apktool_2.0.0b9.jar"
Tue-05-06@1420 --- "SystemUI.apk" recompile failed with no signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@1458 --- SESSION STARTED
------------------------------------------------
Tue-05-06@1500 --- SESSION STARTED
Tue-05-06@1500 --- "framework-res.apk" installed to PC
Tue-05-06@1502 --- "SystemUI.apk" recompile failed with no signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@1510 --- SESSION STARTED
Tue-05-06@1511 --- All frameworks uninstalled
Tue-05-06@1518 --- "framework-res.apk" installed to PC
------------------------------------------------
Tue-05-06@1521 --- SESSION STARTED
Tue-05-06@1522 --- "SystemUI.apk" recompile failed with no signature, using "apktool_2.0.0b9.jar"
------------------------------------------------
Tue-05-06@1523 --- SESSION STARTED
------------------------------------------------
Tue-05-06@1617 --- SESSION STARTED
Tue-05-06@1618 --- "framework-res.apk" installed to PC
Tue-05-06@1620 --- "SystemUI.apk" recompile failed with no signature, using "apktool_2.0.0b9.jar"

btw i only have java runtime environment 8 i dont have the jdk could it be the culprit? in other tools they require the jdk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Nah, TMA comes with all the bits that are needed. :)

Once you've installed framework-res.apk, you need to decompile your SystemUI.apk. That way, all the correct resources can be added to the decompiled apk.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] glfsd:
then there is no solution, only .smali :(

anyway.... THANK YOU!! ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
it worked, but still the wifi icon and the signal bars are still missing :(

on the other hand i managed to grab another systemui from other rom for my phone but the problem is it's odexed and the signal bar is also in the left i only want the wifi icon in the left and signal bars and battery on the right i tried to flash the systemui but it bricked my phone maybe because its odexed.

heres how it looks

ive attatched this rom's framework and systemui together with its odex files

link: https://drive.google.com/file/d/0B4BZ4-TNWxQqSUtQdGhOZkUyRkE/edit?usp=sharing
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
OOPS MY BAD! IT WORKS!, THANKS! now the wifi icon and the signal bar appeared :D but the wifi icon is still not on the left side, is there still hope in moving this thing to the left or im just kinda stuck with this layout -.-
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
So we know that the first part of our mod worked, the clock is centered. Now the only thing left to sort out is that wifi icon.

I'm away from the computer for most of today but I'll have a think and I'll see what I can come up with. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
thanks in advance, i tried changing words for wifi code like paddingRight to PaddingLeft and all it did was add space to the left side of the status bar what a fail lol

anyway i really like TicklemyAndroid its really noob friendly! :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Yes. Yes, it is. :)

I have an idea about what's needed. I just need to be able to sit down at the computer and try it out.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] pxlcrnch:
wohoo! thank god because im completely lost :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Huh, I guess the @id/signal_battery_cluster must be the trigger for your more icon.. Cool!

Glad to see you've got it working! :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I haven't actually tried changing the colour of my notifications but I can make an educated guess about what you should do here. Have you tried changing the colour of the TextView lines in your @id/tickerText?

<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>

Try adding the same textColor attribute to these that you have on your clock.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
I would have to add text color.....right?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
'textColor', yes..:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] The Sickness:
I'm outta thanks for the day. But thanks. I will mess with it tonight
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Any idea how to make the brightnessbar and widgetbutton background black?

Tried with background="00000000" in each .xml-files of those, but didn't change anything.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Let me know! :)

You used "00000000"? Are you sure? You know that would just make it transparent, right..? :p

Try "ff000000". :highfive:

Awesome screenshot, by the way. It's coming along really nicely. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
My bad, will try 000000 instead. :)

Thanks! :)

---------- Post added at 09:02 PM ---------- Previous post was at 08:32 PM ----------

I accidently wrote 000000 instead of ff000000, but it still did the job.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
How did it go?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Good :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Very cool. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Done now I believe :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Oh, the curse of the themer is that you're never done. Now you need to see what else you can do to your rom.. ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
That is so true. ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
How do I remove the lines between the notifications? :)

Or at least, make them transparent?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Which one? ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Your status_bar_expanded.xml for now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
<?xml version="1.0" encoding="utf-8"?>

<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />

<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />

<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />

</RelativeLayout>

<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />

<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">

<TextView android:textAppearance="@*android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />

<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">

<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">

<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />

</LinearLayout>

</ScrollView>

<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />

</FrameLayout>

</com.android.systemui.statusbar.phone.ExpandedView>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hmm...do you have a status_bar_tracking.xml or similiar?