[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] feed3:
I dont know if there's any other thread has been created for this but i didnt see it.

So just want to share this little thing to whoever want it. Anyone are welcome to improvise it and make it even better/nicer.

This is just one quick mod i did during my 1 hour lunch time. :)

This only for stock ROM or Custom ROM based on STOCK. You already have "compact carrier label" features if you are using cm7.

NOTE: 1st thing 1st, please BACKUP the file that we will change (SystemUI.apk from /system/app/)!

STYLE #1:

How it looks:

The "No notification" and "On going" Title is covered by carrier label intentionally.

The easy way:

- Download the file from attachment,extract it and put the compiled xml file inside into your SystemUI.apk at res/layout/

- if you are linux user, then just open that apk file, drag and drop that xml to the stated folder (res/layout)

- I dont know how to do it from windows box since i didnt use windows but i believe you need to open the apk using 7zip.

DIY way

(you need to know how to use apktool, decompiling/recompiling an apk. It is easy, trust me :) ):

If you wish to do it yourself, then you need to decompile SystemUI.apk.

(i use apktool and method by TheGrammarFreak HERE that also applied for centering the date and clock)

- open status_bar_expanded.xml from layout folder.

- on the line 4, you will see

<LinearLayout android:orientation="horizontal" android:background="@drawable/title_bar_portrait" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">

highlight the whole line until line 7 that consist

</LinearLayout>

and delete it (yes, delete!)

so it will looks like these

find line start with

<LinearLayout android:orientation="vertical" android:id="@id/latestItems"

create new line below it and paste this code into that new line

<TextView android:layout_gravity="right|center" android:id="@id/clear_all_button" android:background="@android:drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyle" />

That is for "clear button". We repositioned it to the bottom.

Now, find line consist

</ScrollView>

and paste these code exactly below it

<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="bottom|center|center" android:background="@drawable/shade_bgcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>

It should look like this;

That is for the Carrier Label. I made it centered by this line

android:gravity="bottom|center|center"

Save it and recompile back. I use TheGrammarFreak method to replace the compiled xml file.

Enjoy.. :)

STYLE #2:

How it looks like:

How to apply:

Download file carrier_label_mod2.zip in attachment,

unzip/extract it,

drag and drop files extracted into your SystemUI.apk, inside folder res / layout

** Lazy to add :p ** Ask me if anyone want to try it themself, want to change any line etc. :) **