yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I adapted the Best Method. Your @id/system_icon_area couldn't be placed inside another Layout (as in the Best Method) and couldn't be turned into a RelativeLayout, so I altered its 'weight' so that it occupied exactly the same amount of space as the @id/notification_icon_area. This is basically what happens in the Best Method with the Left Side and Right Side.

Because that area couldn't be made into a RelativeLayout, I needed to do something else to get its contents pushed up against the right side of the statusbar. So I introduced a 'View' line with a weight of 1. Once I knew that View line would be accepted without the apk FC'ing....

....it was just a matter of moving the clock line between the two areas. Which worked nicely.

There's always a way!

Oh, and that's a very cool-looking statusbar. Now that you've removed the battery icon, have you thought about merging the wifi and signal icons? You might be interested in a tutorial by a very good friend of mine: http://xdaforums.com/xperia-z/themes-apps/mod-merge-wifi-signal-icons-updated-t2276066.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bobfrantic:
Well I was right, no way I could have figured that out, so again thanks so much. Hope you add this to your op for people like me. Will check out the tutorial and see what it is all about.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Always glad to help. :)

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

Sent via Tapatalk

---------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Hello there Mr TickleFish!

I'm trying to mod my SystemUI.apk (like everyone else. ;) )

I'm on stock GB and want to remove Carrier Label. Not just hide it, but remove it.

Guess it's this line:

<com.android.systemui.statusbar.CarrierLabel android:visibility="gone" android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffdfdfdf" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />

:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Why do you want to remove it and not just hide it?

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

Sent from my iPad (yes, really)

----------------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Cause it takes up a huge amount of space.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
You mean it takes up space in the apk? So you want to remove the carrier label code from the apk completely? I wouldn't have thought the difference in the size of the file would be that dramatic, to be honest.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
No, I just mean that it takes up much space (it's very big even when it's hidden). Therefore I would like to remove it.

---------- Post added at 06:10 PM ---------- Previous post was at 05:25 PM ----------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
That doesn't look very hidden to me. I can still see it.

Your xml code does have its visibility set to 'gone' but the carrier label is still going. I'm guessing that the rom is overriding that visibility.

In which case, we just need to reduce the width to 0 dip. This has already happened but your line has a weight that needs to be removed.

So, change:

<com.android.systemui.statusbar.CarrierLabel android:visibility="gone" android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffdfdfdf" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />

to:

<com.android.systemui.statusbar.CarrierLabel android:visibility="gone" android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffdfdfdf" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
No, it wasn't hidden here. I just wanted to show how big it was. :)

Even if I set the visibility to gone, it still takes up the same height.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hmm..so you want that 'inga' text to be direcly under the brightness bar?

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

Sent From Tapatalk

--------------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Beautiful!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 22sl22:
[MENTION=4315551]Ticklefish[/MENTION]

Just thought i'd let you know whats coming up :good:

status bar xml from android Lollipop. Going to try do left sided clock :good:

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" 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">
<ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="8.0dip">
<com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.keyguard.AlphaOptimizedLinearLayout android:id="@id/notification_icon_area_inner" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include layout="@layout/system_icons" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="7.0dip" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</LinearLayout>
<ViewStub android:id="@id/ticker_stub" android:layout="@layout/status_bar_ticker" android:inflatedId="@id/ticker" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Thanks! It doesn't look significantly different to what's come before. Can you share the system_icons.xml please?

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

Sent Via Tapatalk

-----------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 47th_Ronin:
[MENTION=4315551]Ticklefish[/MENTION]

First let me thank you for your work it's much appreciated.

Secondly I have used the search function on xda and tapatalk as well as Google and found nothing concrete as to my question so I thought I'd ask here.

I understand that this is made for use on a Windows pc but was wondering if this could be adapted for use on an android phone or tablet.

Not to decompile on the fly but moreover to negate the use of Windows and adb as well as the fact that I don't have a Windows pc (piguy linux on my laptop) .

Anyway just thought I'd ask.

Thanks again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 22sl22:
Sure. Iv'e attached the whole systemui and framework res :good:

For now we can only look, no touching :)

Apktool isn't 100% ready for L so you can't recompile any L apk's, only decompile :good:

https://drive.google.com/file/d/0B35dv8DCRfo-b1d6eUdwbmRWWFE/view?usp=sharing
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
I've tried to read about adding more options to shutdown menu, like reboot and reboot to CWM. Can anyone help me understand how it's done here?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Very nice, thanks. I'll have a look in a moment. :good:

Apktool isn't fully Lollipop-compatible yet. If I remember correctly, apktool's dev [MENTION=3924617]iBotPeaches[/MENTION] is waiting for it to be released before they start work on updating the tool. It's only a matter of time though. :D

There's a guide by my friend [MENTION=4662673]sandy7[/MENTION] here: http://xdaforums.com/showthread.php?t=2449007

It's meant for Jelly Bean, not Gingerbread, but it's a starting point.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Tickle My Android isn't available on Android (one day, maybe) but there is a decompiling apk available here: https://code.google.com/p/apktool/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
So the Lollipop status bar is split into two sections:

The notification icon area -

<com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.keyguard.AlphaOptimizedLinearLayout android:id="@id/notification_icon_area_inner" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>

The system icon area -

<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include layout="@layout/system_icons" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="7.0dip" />
</com.android.keyguard.AlphaOptimizedLinearLayout>

The Best Method treats the statusbar as two areas so centering the clock in Lollipop shouldn't be a problem at all! :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 22sl22:
Wow, someone's been busy :)

Already got it sorted, I'll be sure to test once a new apktool comes out :good:

Once it does, just gotta make a few tweaks for left clock :)

Once again, thanks :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Left clock shouldn't be a problem at all.

By the looks of this, xml modding in Lollipop should be just as simple as it is now. The bit I'm interested in is editing smali. The Developer Preview is odexed and nobody seems to know if it can be deodexed. I'm curious to see if the arm folder can be deleted....hmm...

Anyway, centering the clock (as well as all the other fun things we like to do with our xml) should be more than possible. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 22sl22:
I actually didn't know art roms could be deodexed until I saw an L ROM in the N5 forum that says deodex. I'll see if I can get a link. I haven't looked in smali yet but I'll do a bit of digging :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
The smali will be the same sort of thing we're used to. It's still converted from the machine code the same way. But there's no point doing it if we can't deodex the rom. What I want to know is can the odex file be deleted on its own or does the arm folder have to be deleted as well to avoid a FC?

It's a little thing but it's these small details that make all the difference.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
There's a guide by my friend [MENTION=4662673]sandy7[/MENTION] here: http://xdaforums.com/showthread.php?t=2449007

It's meant for Jelly Bean, not Gingerbread, but it's a starting point.[/QUOTE]

I've switched to ICS. Tried to follow that guide, but didn't really understand where all code is supposed to go.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I've switched to ICS. Tried to follow that guide, but didn't really understand where all code is supposed to go.[/QUOTE]

Try asking on the thread. I don't think ICS smali would be dramatically different to JB..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] adek89:
how to add performance option in stettings?

Wysyłane z mojego WT19i za pomocą Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I think you need more attributes in your TextView line. Try this:

<TextView android:singleLine="true" android:marqueeRepeatLimit ="marquee_forever" android:scrollHorizontally="true" android:focusable="true" android:focusableInTouchMode="true" android:text="Jeaη Viηceηt Jeaη Viηceηt Jeaη Viηceηt Jeaη Viηceηt Jeaη Viηceηt" android:layout_gravity="end" android:ellipsize="marquee" android:id="@id/status1" android:textSize="35.0dip" android:gravity="top|center" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="2.0dip" />

I've added a few attributes and removed some that don't do anything..

There's a tutorial about adding things to your settings.apk by my good friend [MENTION=4768354]Madaditya[/MENTION] here:http://xdaforums.com/showthread.php?t=2712474
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] VinceOjela:
Thank you :D

Thank you for the code sir, I just deleted the other duplicated android:singleLine="*true" the text are now running cool!! THANK YOU!! :good: :good: :good::good: :good: :good: :good: :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Awesome! Are you able to share a video?

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

Sent Via Tapatalk

-----------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
*** thread closing ***

It's been nearly two and a half years since I started this thread.

And now it's time to close it.

But for a good reason!

I've just started a new thread over in xda University with this mod and others. From today, this is where I'll be answering questions about XML and doing everything I can to turn everybody here into expert modders.

Check it out here: http://xdaforums.com/general/xda-university/xml-101-xml-modding-easy-t2929816.

If you have anything you want to ask me, any XML tricks or tips you want to share, or if you feel like returning the favour and helping others with XML issues, then you know what to do.

Just click on the link, hit the 'Subscribe' button and let the fun begin!

As for this thread, I'll be closing it in a day or two to give people enough time to head on over to the new one.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
No no no... Please [MENTION=4315551]Ticklefish[/MENTION]. Xda would feel something missing without you. We love you and your assistance which can be counted on at all times.

You have come to our rescue when there wasn't any hope. Don't leave us buddy.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Don't worry, I wouldn't leave xda. I've just moved house...

Check out preview.tinyurl.com\xmlmadeeasy :)

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

Sent Via Tapatalk

-----------------------------
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Perseus:
Oh I hope you wouldn't! New Houses are always a welcome change! This new one is more deservedly so for your work.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] richard.elgh:
Hello there!

I would like to theme an app (SemcClock.apk) all black, it's sort of white at the moment.

Do you know what files to edit?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] adek89:
HELP !!!!!

I have a big request of me if he could redo my systemUI someone that looked (beyond the reach batweri icons etc) as that of an annex (NXT Update5 org)? It works very well on the gb but I prefer to have their icons and unfortunately as I give them as subtitles in the notifications they become black on a black background. I would be grateful for modifying my file to look like in ready mode
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] babai93:
I think I am in the right place. Can u please help me to remove those 1 and 2 simble next to the network icon.

I am on CM11s
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Any time. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
This is very interesting. It's MIUI, right? There's bits of this code that don't actually do anything. They don't cause a problem, they're just completely redundant. But the clock centers so they're obviously doing something right..hmm..

Thanks for this, I'll have a in-depth look and see if I can use it for an updated, universal method. I have worked out a different way to center the clock which would work with a transparent statusbar but it uses a RelativeLayout and could be a bit tricky to do a tutorial for so this might work out well.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 1982Strand:
Yes, it's MIUI.. Again, this is the work of Andy Thomson. He made a mod for miui and an app, called Extended Settings. With this app you could manipulate all kinds of stuff with the statusbar.. See This Thread

..Explains it all.

The SystemUI apk from his rom contains a status_bar.xml and a status_bar_center.xml, the code i used is from the "center" version :)

I only removed the background code for the line with the carrier label, as it refers to a png i don't have in my rom, the purpose of it is that users have the options to choose an image to show instead of the carrier name...

:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Ah, I had a feeling it was. MIUI always has lots of extra fun things in its statusbar code..

I've updated the op now with this method, as well as one I've been working on.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Tickle its so nice... dont really understand tha steps yhu posted on OP!

---------- Post added at 02:22 PM ---------- Previous post was at 01:33 PM ----------

Back with my Mango.... thanks Tickle!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Always glad to help!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
thanks buddy... but what bout tha image?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] P9vutha:
any easy flashable zip with this? thz. :)

Xperia Live

WT19i

Android 4.0.4 rooted ICS stock. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
What about it? :confused:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
No, this is more about teaching you how to do the mod yourself. I can make flashable zips if absolutely needed but , because everybodys setup will be different, it would have to be on an individual basis so I only do it for people who've really tried to do this mod and just can't get their head round it.

Or, to put it another way, just try to do it yourself. It's a simple mod to do but it can start you down the road of modding your way to the exact way that you want it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
How can one archieve it? carrier text on tha right & signals on tha left!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
You already have the carrier label on the left and signals on the right. To swap them over, you just need to swap the bits of code over.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
yeah buddy, i know but i dnt know tha code... i have move tha carrier text to bottom, my icons at status bar overlap!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Thank you so much paddy... but yhu said yhu ve have to change some android: padding and one android:layout_alignParent parameter but otherwise it's just a simple cut and paste job.

Do i need to use yur code or i can just copy/paste only....?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Look at the two bits of code. I cut some lines from one place and pasted them into another and had to change some parameters.

You can use my code, just put it into the right place in the file. But do me a favour, look at the code, see what I've changed and think about how it works.