FORUMS

[GUIDE][MOD]Add Text To Status Bar!

883 posts
Thanks Meter: 541
 
By MR.Volkf, Senior Member on 11th August 2013, 10:25 AM
Post Reply Email Thread
Add Text To Status Bar
By MR.Volkf

Screenshoot



Requirement
  • BRAIN
  • Patient
  • Know how to decompile/recompiling Apk file
  • notepad++
  • Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/tickle my android
  • I use tickle my android cause it very easy

Step
  1. Decompile SystemUI.apk
  2. go to res/layout/status_bar.xml
  3. Open Status_bar.xml with notepad++
  4. Copy This line,paste in status_bar.xml
    note: for left copy in line 9 [cm10.1]
    Code:
    <TextView android:textSize="15.0sp" android:textColor="#ffa6a6a6" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/hello" android:singleLine="true" />
    How to change text color
    Code:
    android:textColor="#ffa6a6a6"
    change: #ffa6a6a6 to whatever hex color you want
    example :
    #ffffffff = White
    #ff000000 =Black(?)

    How to change text size
    Code:
    android:textSize="15sp"
    change: 15sp to whatever you want
    example
    : 16sp same as with Clock
    : 14.5sp
    : 13sp
    : 12sp same as with battery percent
  5. Go to res/values/strings.xml
  6. copy this line,paste in bottom of strings.xml
    Code:
    <string name="hello">Hafiz</string>
    Change Hafiz to whatever would you like,like Axis,Android,Google etc!
  7. Recompile!
  8. done

Thanks for
1. @Ticklefish for tool
2. GOOGLE

find more about string: Here


The Following 7 Users Say Thank You to MR.Volkf For This Useful Post: [ View ] Gift MR.Volkf Ad-Free
11th August 2013, 10:41 AM |#2  
Hpsgill's Avatar
Senior Member
Flag Patiala
Thanks Meter: 1,798
 
More
Great guide!!!

Sent from my HTC Explorer A310e using xda premium
11th August 2013, 10:50 AM |#3  
mussi96's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 14
 
More
Awesome i needed this alot..

Sent from my GT-I9082 using xda app-developers app
11th August 2013, 11:48 AM |#4  
MR.Volkf's Avatar
OP Senior Member
Flag C:\Apktool & C:\TickleMyAndroid
Thanks Meter: 541
 
More
Quote:
Originally Posted by Hpsgill

Great guide!!!

Sent from my HTC Explorer A310e using xda premium

Thank you brothaa





Quote:
Originally Posted by mussi96

Awesome i needed this alot..

Sent from my GT-I9082 using xda app-developers app

Thank youu guys

Sent from my GT-I9003 using xda app-developers app
3rd November 2013, 09:05 AM |#5  
limyuyang's Avatar
Senior Member
Flag Android Planet
Thanks Meter: 229
 
More
Quote:
Originally Posted by MR.Volkf

Thank you brothaa







Thank youu guys

Sent from my GT-I9003 using xda app-developers app

Bro, I'm using light by somin. So which line should I paste on the statusbar.xml ?

Paste on line 9 ?
Attached Thumbnails
Click image for larger version

Name:	444re.PNG
Views:	334
Size:	137.4 KB
ID:	2368053  
3rd November 2013, 01:00 PM |#6  
MR.Volkf's Avatar
OP Senior Member
Flag C:\Apktool & C:\TickleMyAndroid
Thanks Meter: 541
 
More
Quote:
Originally Posted by limyuyang

Bro, I'm using light by somin. So which line should I paste on the statusbar.xml ?

Paste on line 9 ?

on 8 dude
3rd November 2013, 01:50 PM |#7  
limyuyang's Avatar
Senior Member
Flag Android Planet
Thanks Meter: 229
 
More
Quote:
Originally Posted by MR.Volkf

on 8 dude

Sorry, I don't really get it because I'm a beginner only. You mean I have to delete the 8th line and paste code ? Or you mean I paste the code beside the original code ? Or you mean paste the code on 8th line and the original 8th line goes to the 9th line ?

I hope you understand what I mean. TQ. Have a nice day.
5th November 2013, 02:03 AM |#8  
limyuyang's Avatar
Senior Member
Flag Android Planet
Thanks Meter: 229
 
More
Quote:
Originally Posted by MR.Volkf

on 8 dude

Bro, can you help me add text to status bar ? I provide you my systemui.apk and you help me, because I tried a few times editing, and it failed, I can't make it. So I hope you can help me.

What I want is:
Text: Lim.YY
Size: 15sp
Colour: #ffffffff ( white )

Link for my systemui.apk: https://www.dropbox.com/s/p492gn7zj7...emUI.apk.rar?m

Thanks.
5th November 2013, 07:49 AM |#9  
leolawliet's Avatar
Senior Member
Flag New York, NY
Thanks Meter: 1,635
 
Donate to Me
More
Both computers I'm using at work can't decompile anything without errors, as much as I'd love to use this mod sadly I'd have to ask if someone else can do it for me
5th November 2013, 10:03 AM |#10  
limyuyang's Avatar
Senior Member
Flag Android Planet
Thanks Meter: 229
 
More
Quote:
Originally Posted by leolawliet

Both computers I'm using at work can't decompile anything without errors, as much as I'd love to use this mod sadly I'd have to ask if someone else can do it for me

Ya, and I'm not really expert on editing the systemui.apk, that's why I need @MR.Volkf to help me edit it.
5th November 2013, 10:16 AM |#11  
leolawliet's Avatar
Senior Member
Flag New York, NY
Thanks Meter: 1,635
 
Donate to Me
More
If I can't manage to get it done on my girl's laptop I'm either asking for help or giving up till I get my own brand new laptop.
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