FORUMS
Remove All Ads from XDA

[GUIDE][ICS] Custom Carrier Label for Stock / Stock Based ROM

522 posts
Thanks Meter: 2,870
 
Post Reply Email Thread
I just found the trick to manipulate carrier label on notification bar when I'm exploring decompiled stock based SystemUI.apk..

Wanna know how to do that ??
Check this out :

Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
  1. First you need to decompile your SystemUI.apk
  2. Open res/layout/status_bar_tracking.xml with any good xml editor (here I'm using NP++)
  3. Find this line:
    Code:
            <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    and change to:
    Code:
            <textView android:text="@string/carrier_label" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
  4. Save
  5. Now open res/values/strings.xml
  6. Add this line above </resources> :
    Code:
        <string name="carrier_label">ENTER_YOUR_COOLEST_TEXT_HERE</string>
    so it'll be looked a like this:
    Code:
        <string name="carrier_label">ENTER_YOUR_COOLEST_TEXT_HERE</string>
    </resources>
    p.s. : change the ENTER_YOUR_COOLEST_TEXT_HERE with your desired label
  7. Now save
  8. Recompile (build) your SystemUI.apk
  9. Push to your phone and you are.......
  10. Done !!

The result will be looked like this :


Mine :



Quote:

Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!

Good luck..
The Following 10 Users Say Thank You to iiandskater For This Useful Post: [ View ] Gift iiandskater Ad-Free
30th July 2012, 07:23 AM |#2  
livesourav's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 47
 
Donate to Me
More
nice find mate .. thanks for the share
30th July 2012, 07:35 PM |#3  
Do.A.Deer's Avatar
Junior Member
Thanks Meter: 0
 
More
if you lazy to do ,try this app http://forum.xda-developers.com/showthread.php?t=901865
dont know if it work on ICS ,just try its easier for noob like me

btw thanks for share
11th August 2012, 01:02 AM |#4  
mikig_mkd's Avatar
Senior Member
Flag Skopje
Thanks Meter: 905
 
Donate to Me
More
Does anyone now how to bring the Carrier Label in the bottom of the statusbar Expanded view, in Gingerbread? Tried searching the forum and google, but with no luck...
22nd October 2012, 02:58 PM |#5  
Member
Flag bangalore
Thanks Meter: 0
 
More
Angry
Quote:
Originally Posted by iiandskater

i just found the trick to manipulate carrier label on notification bar when i'm exploring decompiled stock based systemui.apk..

Wanna know how to do that ??
Check this out :

here i'm using lidroid's modified systemui, should work on other stock based systemui

  1. first you need to decompile your systemui.apk
  2. open res/layout/status_bar_tracking.xml with any good xml editor (here i'm using np++)
  3. find this line:
    Code:
            <com.android.systemui.statusbar.phone.carrierlabel android:textappearance="@style/textappearance.statusbar.clock" android:textcolor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingbottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    and change to:
    Code:
            <textview android:text="@string/carrier_label" android:textappearance="@style/textappearance.statusbar.clock" android:textcolor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingbottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
  4. save
  5. now open res/values/strings.xml
  6. add this line above </resources> :
    Code:
        <string name="carrier_label">enter_your_coolest_text_here</string>
    so it'll be looked a like this:
    Code:
        <string name="carrier_label">enter_your_coolest_text_here</string>
    </resources>
    p.s. : Change the enter_your_coolest_text_here with your desired label
  7. now save
  8. recompile (build) your systemui.apk
  9. push to your phone and you are.......
  10. done !!

the result will be looked like this :


mine :





good luck..




ur status bar is so cool i mean d icons can u make a zip and share???
29th October 2012, 12:09 AM |#6  
moparfreak426's Avatar
R.I.P.
Flag East/Middle TN
Thanks Meter: 1,198
 
Donate to Me
More
What do you use to decompile/recompile? Also can you set the clock in the middle of the status bar?

Sent from my SPH-D710 using xda premium
16th March 2013, 12:03 PM |#7  
Member
Flag Ha Noi
Thanks Meter: 13
 
More
i try but it do not work.
i think my room need more edit at: res\values\public.xlm but i do not know add line:
<public type="string" name="carrier_label" id="0x7f08001c" />
22nd March 2013, 06:04 PM |#8  
Member
Thanks Meter: 4
 
More
Cool cool
looks very nice bro
1st December 2014, 03:47 AM |#9  
Junior Member
Thanks Meter: 2
 
More
Hi, will this work on jellybean??
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes