Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,406 Members 41,932 Now Online
XDA Developers Android and Mobile Development Forum

[Guide][2.3+]Add marquee style text to the status bar

Tip us?
 
Myth2014
Old
(Last edited by Myth2014; 6th June 2014 at 02:05 PM.)
#1  
Myth2014's Avatar
Member - OP
Thanks Meter 7
Posts: 52
Join Date: Apr 2014
Location: Linyi
Default [Guide][2.3+]Add marquee style text to the status bar

Step1: Decompile your SystemUI.apk

Step2: Open the res / layout / status_bar.xml

Add this code :

Code:
<TextView android:textSize="24.0dip" android:textColor="#ffff7d00" android:ellipsize="marquee" android:layout_gravity="center" android:background="#00000000" android:text="Myth2014. Here. you want to add text " android:focusable="true" android:focusableInTouchMode="true" android:layout_width="100.0dip" android:layout_height="wrap_content" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />

Step3: Recompile SystemUI.apk


Note: The text length is greater than the width of the layout

Sorry,My English is bad.

screenshot:





Sent from my IM-A690S using xda app-developers app
The Following User Says Thank You to Myth2014 For This Useful Post: [ Click to Expand ]
 
Elies06
Old
#2  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Jan 2013
i'll give it a shot
 
Myth2014
Old
#3  
Myth2014's Avatar
Member - OP
Thanks Meter 7
Posts: 52
Join Date: Apr 2014
Location: Linyi
yeah . This is a great

Sent from my IM-A690S using xda app-developers app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes