[Q] no DATE in notification bar expanded view - XPERIA X10 Q&A, Help & Troubleshooting

I am making a theme for a rom and wanted to add date just below the quick panel settings.
I edited the status_bar_expanded.xml with the below code.
----------------------------------------------------------------------------
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<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="40.0sp">
[B][COLOR="Red"]<com.android.systemui.statusbar.DateView android:textStyle="bold" android:textSize="9.0sp" android:id="@id/date" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:paddingLeft="1.0dip" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />[/COLOR][/B]
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="0.0sp" android:textColor="#00000000" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_clear_default_small_normal" 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="" style="\?android:attr/buttonStyle" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/ongoingTitle" android:background="#d7000000" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/latestTitle" android:background="#d7000000" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
---------------------------------------------------------------------------
but still date is not displayed. Screenshot attached
can anyone help me out.?
also the colour of date doesnt change.
any ideas???
thanx

mirajp1 said:
I am making a theme for a rom and wanted to add date just below the quick panel settings.
I edited the status_bar_expanded.xml with the below code.
----------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView androidrientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout androidrientation="horizontal" android:background="@drawable/title_bar_portrait" androidaddingTop="3.0dip" androidaddingRight="3.0dip" androidaddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0sp">
<com.android.systemui.statusbar.DateView android:textStyle="bold" android:textSize="9.0sp" android:id="@id/date" android:textColor="#ffffffff" android:layout_gravity="center_vertical" androidaddingLeft="1.0dip" androidaddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="0.0sp" android:textColor="#00000000" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_clear_default_small_normal" androidaddingLeft="15.0dip" androidaddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="" style="\?android:attr/buttonStyle" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" androidverScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout androidrientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/ongoingTitle" android:background="#d7000000" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff47DDFE" android:id="@id/latestTitle" android:background="#d7000000" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
---------------------------------------------------------------------------
but still date is not displayed. Screenshot attached
can anyone help me out.?
also the colour of date doesnt change.
any ideas???
thanx
Click to expand...
Click to collapse
are you trying to use the stock dateview and just move it, if so it will not work. because it has to be told to show lookup the sources for the systemui.apk (github aosp framework_base/packages/systemui/) in aosp there is not much differnece between it and the sony one. and you will see that the date view is told when to show and hide.
so you either have to modify the smali to tell it to show your new view (that is in a dfferent parent) OR you create a new dateview class and call that (thats what i did lol)
hope thats not too vauge for you. also use code tags around your code and stuff in future it is easyer to read that way.
Pvy.

thats what i did
thanx pvyparts for reply.
now i got a start so i guess I will find out a way.
I dont know how to edit smali files so i guess will try adding a new class.
can you tell me how to add a class?
EDIT:
also i dont want to show date at specific date and time.I want it permanently there.

there's a thread here from which i tried to port the dateview smali: http://forum.xda-developers.com/showthread.php?t=1316574
but it didn't work, so i'm wondering how i can add it to the systemUI.apk. also, i'm wondering how can we put the settings button there - i can place the button beside the dateview (or in my case the placeholder text) but i can't make it initiate any action and to launch settings.apk.
do you have any clue maybe, pvyParts?
thanks!

mirajp1 said:
thats what i did
thanx pvyparts for reply.
now i got a start so i guess I will find out a way.
I dont know how to edit smali files so i guess will try adding a new class.
can you tell me how to add a class?
EDIT:
also i dont want to show date at specific date and time.I want it permanently there.
Click to expand...
Click to collapse
I know that's what you did cause that's what I did first too LOL!!
See my reply below
donjamal said:
there's a thread here from which i tried to port the dateview smali: http://forum.xda-developers.com/showthread.php?t=1316574
but it didn't work, so i'm wondering how i can add it to the systemUI.apk. also, i'm wondering how can we put the settings button there - i can place the button beside the dateview (or in my case the placeholder text) but i can't make it initiate any action and to launch settings.apk.
do you have any clue maybe, pvyParts?
thanks!
Click to expand...
Click to collapse
Yes and yes and yes.
that dateview is still the android one and needs to be configured/called to work.
Grab my system ui from the team Rom and have a look at how did it. that class may not work with it some other stuff tho but your free to try it.
I will removed the team stuff from my dateview and post the smali here for you and you are welcome to use it. just gimme a day or so.
Creating a class is not add easy as it sounds you need a way to compile it ect ect. I use eclipse and dummy apps * many programming skillz required*
As for settings button that would require either smali mods or a custom button again. Not small task in smali.... Easy from sources. I might make one aswell. Depends if get time or not. :-B
Pvy.
Sent from my TEAM Powered Arc S

pvyParts said:
I know that's what you did cause that's what I did first too LOL!!
See my reply below
Yes and yes and yes.
that dateview is still the android one and needs to be configured/called to work.
Grab my system ui from the team Rom and have a look at how did it. that class may not work with it some other stuff tho but your free to try it.
I will removed the team stuff from my dateview and post the smali here for you and you are welcome to use it. just gimme a day or so.
Creating a class is not add easy as it sounds you need a way to compile it ect ect. I use eclipse and dummy apps * many programming skillz required*
As for settings button that would require either smali mods or a custom button again. Not small task in smali.... Easy from sources. I might make one aswell. Depends if get time or not. :-B
Pvy.
Sent from my TEAM Powered Arc S
Click to expand...
Click to collapse
thanx pvy
waiting for that.
till then i will try it out from your rom(downloading takes time for me..slow connection lol )

thnx pvyParts! i wonder if you could share the "how-to" not just the results i wanna learn as much as i can... thnx again!

donjamal said:
thnx pvyParts! i wonder if you could share the "how-to" not just the results i wanna learn as much as i can... thnx again!
Click to expand...
Click to collapse
Of course mate
Sent from my TEAM Powered Arc S

pvyParts said:
Of course mate
Sent from my TEAM Powered Arc S
Click to expand...
Click to collapse
hey pvyparts any updates?
btw do you know which programming language is used in smali files.
google didnt give any satisfactory answer...

mirajp1 said:
hey pvyparts any updates?
btw do you know which programming language is used in smali files.
google didnt give any satisfactory answer...
Click to expand...
Click to collapse
Sorry guys got sent away with work and totally forgot. Lol. be back soon
Smali is smali lol.... google davlic opcode will get you some more info on it
Sent from my Transformer TF101 using XDA Premium HD app

Thanx for the reply...
And yes waiting for answer
Sent from my X10

Related

How to: Guide on how to edit carrier name on dell streak

Hi folks,
I know a lot of you want to edit the carrier name in the statusbar, lockscreen, etc.
I got it working, but only on streakdtroid 1.8/1.8.1... Since streakdroid 1.9 is released apktool have problems (just look into this thread)
But, though it doesn't work on 1.9, i will post a tutorial, how i done it on 1.8. I don't know if it also works on the offical rom.
You do this tutorial on your own risk. Be sure you have a backup.
1. Make a backup and be sure you know how to rescue your system
2. Be sure you know what to do and read all instructions carefully
3. download apktool and the android-sdk
4. link your dell streak with your computer and pull the framewokr-res.apk in your /system/framework folder with the android-sdk adb
command: ~ adb pull /system/framework/framewokr-res.apk /Dir
The "/Dir" is the directory where you want to have the framework
5. decompile the framework-res.apk with apktool
command: ~ apktool d "/Dir"/framework-res.apk "/Dir2"
6. Go into the folder "Dir2", which apktool made. Now move to /Dir2/res/layout
7. open status_bar.xml, status_bar_expanded.xml and keyguard_screen_tab_unlock_land.xml
8. edit those xml files:
status_bar.xml:
You have to edit this
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="12.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/screenName" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
section into:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize=[COLOR="Red"]"0.0sp" [/COLOR]android:textStyle="bold" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/screenName" android:paddingLeft="4.0dip" android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
status_bar_expanded.xml:
You have to edit this
Code:
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" 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">
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/plmnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/spnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
section into:
Code:
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" 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">
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:textSize=[COLOR="Red"]"0.0sp"[/COLOR] android:id="@id/plmnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] />
[COLOR="Red"]<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:text="Your Text Here" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/spnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
keyguard_screen_tab_unlock_land.xml:
You have to edit this
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="20.0dip" android:singleLine="true" android:layout_alignParentTop="true" />
section into:
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize=[COLOR="Red"]"0.0sp"[/COLOR] android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height=[COLOR="Red"]"0.0dip" [/COLOR]android:layout_marginTop="20.0dip" android:singleLine="true" android:layout_alignParentTop="true" />
It is possible that the xml-files differ, depends on your used rom.
9. After editing the xml-files recompile the folder with apktool
command: ~ apktool b /Dir2
The new apk should be in /Dir2/dist/
If the apktool have errors, during the compiling with thoose 9.png ,but it is compiling sucessfully, than open the compiled apk and copy the compiled xml files (status_bar.xml, status_bar_expanded.xml and keyguard_screen_tab_unlock_land.xml) into the original framework in "/Dir". Do this with your favourite zip-programm (recommented 7-Zip)
10. After compiling you can push your framework back to your phone. There are a lot of ways you can do that. Only pushing the framework back with android adb command push makes my phone stuck on boot. The best way is to download this file and open it with your zip-programm and replace the framework-res.apk with your framework. Now you can load the file with clockwork-recovery mod.
11. reboot your phone and be happy if it works
This is really a complicated tutorial so when you have questions, ask them.
Mainly this tutorial is only made to improve people, who are searching for a long time.... and for people, who know how to use apktool and adb.
On strekdroid 1.9 apktool has problems (look at the top of the thread).
Information: The carrier text will not change, when you are in airplane mode, etc.
If you want to look, how the streak looks afterwards go to this thread
In this thread I made a clock into the xpanded statusbar.. it is only for streakdroid 1.8, but if you want to have it easy you can follow this thread.
By the way srry for my bad english, but i hope you can understand it.
Greetings
MadBlaster
Great. That was fast.
Sent from my Dell Streak using XDA Premium App
MadBlaster said:
Hi folks,
I know a lot of you want to edit the carrier name in the statusbar, lockscreen, etc.
I got it working, but only on streakdtroid 1.8/1.8.1... Since streakdroid 1.9 is released apktool have problems (just look into this thread)
But, though it doesn't work on 1.9, i will post a tutorial, how i done it on 1.8. I don't know if it also works on the offical rom.
You do this tutorial on your own risk. Be sure you have a backup.
1. Make a backup and be sure you know how to rescue your system
2. Be sure you know what to do and read all instructions carefully
3. download apktool and the android-sdk
4. link your dell streak with your computer and pull the framewokr-res.apk in your /system/framework folder with the android-sdk adb
command: ~ adb pull /system/framework/framewokr-res.apk /Dir
The "/Dir" is the directory where you want to have the framework
5. decompile the framework-res.apk with apktool
command: ~ apktool d "/Dir"/framework-res.apk "/Dir2"
6. Go into the folder "Dir2", which apktool made. Now move to /Dir2/res/layout
7. open status_bar.xml, status_bar_expanded.xml and keyguard_screen_tab_unlock_land.xml
8. edit those xml files:
status_bar.xml:
You have to edit this
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="12.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/screenName" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
section into:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize=[COLOR="Red"]"0.0sp" [/COLOR]android:textStyle="bold" android:layout_width=[COLOR="Red"]"0.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/screenName" android:paddingLeft="4.0dip" android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="4.0dip" android:layout_width=[COLOR="Red"]"0.0dip" [/COLOR]android:layout_height="fill_parent" android:layout_weight="1.0" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
status_bar_expanded.xml:
You have to edit this
Code:
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" 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">
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/plmnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/spnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
section into:
Code:
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width=[COLOR="Red"]"0.0dip" [/COLOR]android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0">
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:textSize=[COLOR="Red"]"0.0sp"[/COLOR] android:id="@id/plmnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height=[COLOR="Red"]"0.0dip"[/COLOR] />
[COLOR="Red"]<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:text="Your Text Here" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
<TextView android:textAppearance="?textAppearanceLarge" android:textColor="?textColorSecondaryInverse" android:layout_gravity="center_vertical" android:id="@id/spnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
keyguard_screen_tab_unlock_land.xml:
You have to edit this
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="20.0dip" android:singleLine="true" android:layout_alignParentTop="true" />
section into:
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize=[COLOR="Red"]"0.0sp"[/COLOR] android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height=[COLOR="Red"]"0.0dip" [/COLOR]android:layout_marginTop="20.0dip" android:singleLine="true" android:layout_alignParentTop="true" />
It is possible that the xml-files differ, depends on your used rom.
9. After editing the xml-files recompile the folder with apktool
command: ~ apktool b /Dir2
The new apk should be in /Dir2/dist/
If the apktool have errors, during the compiling with thoose 9.png ,but it is compiling sucessfully, than open the compiled apk and copy the compiled xml files (status_bar.xml, status_bar_expanded.xml and keyguard_screen_tab_unlock_land.xml) into the original framework in "/Dir". Do this with your favourite zip-programm (recommented 7-Zip)
10. After compiling you can push your framework back to your phone. There are a lot of ways you can do that. Only pushing the framework back with android adb command push makes my phone stuck on boot. The best way is to download this file and open it with your zip-programm and replace the framework-res.apk with your framework. Now you can load the file with clockwork-recovery mod.
11. reboot your phone and be happy if it works
This is really a complicated tutorial so when you have questions, ask them.
Mainly this tutorial is only made to improve people, who are searching for a long time.... and for people, who know how to use apktool and adb.
On strekdroid 1.9 apktool has problems (look at the top of the thread).
Information: The carrier text will not change, when you are in airplane mode, etc.
If you want to look, how the streak looks afterwards go to this thread
In this thread I made a clock into the xpanded statusbar.. it is only for streakdroid 1.8, but if you want to have it easy you can follow this thread.
By the way srry for my bad english, but i hope you can understand it.
Greetings
MadBlaster
Click to expand...
Click to collapse
you pull this off yourself or take a look at a few of my threads?
I done this by myself ....
Not out of your topics
Sent from my Dell Streak using XDA App
There's an app somewhere here, called Carrier Name. It works great :3
Sent from my Dell Streak using XDA App
Dizwix said:
There's an app somewhere here, called Carrier Name. It works great :3
Click to expand...
Click to collapse
just going to say that
Dizwix said:
There's an app somewhere here, called Carrier Name. It works great :3
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Not free
Dizwix said:
There's an app somewhere here, called Carrier Name. It works great :3
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
I know.... and it is free, just look into this thread ... would be great if it works, maybe it does now.. a few month ago it didnt work for me
MadBlaster said:
I know.... and it is free, just look into the thread ... would be great if it works, maybe it does know.. a few month ago it didnt work for me
Click to expand...
Click to collapse
still this app doesnt work for me ......

[Q]Can the Carrier tag in status bar be REMOVED????

Hey GUYs!!!
Its really annoying that my status bar is Showing two Carrier Tags
Can any1 tell me How to remove them all ??? pls
PLEASE see the attachment for my Problem..
Sent from
Xperia Ray running Stock ICS
No, but you must replace it by another name with Carrier name
HitMaN/ said:
Hey GUYs!!!
Its really annoying that my status bar is Showing two Carrier Tags
Can any1 tell me How to remove them all ??? pls
PLEASE see the attachment for my Problem..
Sent from
Xperia Ray running Stock ICS
Click to expand...
Click to collapse
removing is easy with some small edits to the XML's,
1 - decompile the statusbar.
2 - goto the res/layout folder
3 - open the statusbar_tracking.xml file
4 - change the line with this
Code:
com.android.systemui.statusbar.phone.CarrierLabel
to include
** fixed now sry **
Code:
android:visibility="gone"
eg.
my file looks like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingVi ew android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
[B][I] <com.android.systemui.statusbar.phone.CarrierLab el android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
[/I][/B] </FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHand le>
</com.android.systemui.statusbar.phone.TrackingView>
turn it into this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingVi ew android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
[B][I][COLOR="Red"] <com.android.systemui.statusbar.phone.CarrierLab el android:visibility="gone" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
[/COLOR][/I][/B] </FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHand le>
</com.android.systemui.statusbar.phone.TrackingView>
that will hide the carrier lable, never to be seen again. it will also resize the notification are to be a bit bigger.
the reason you DO NOT delete the line is that the code can still update the carier lable when it needs to even tho it is invisible. if you delete it you would have to remove all the code that updates it too and that is a big job in smali... (far too hard)
Hope that helped.
Pvy.
Thanks dude ... I ll try it n reply
Thanks dude ... I ll try it n reply
Click to expand...
Click to collapse
Sorry just noticed a huge mistake. I put that you wanted
android:focusable="true"
Click to expand...
Click to collapse
When intact you really want this :-S
android:visibility="gone"
Click to expand...
Click to collapse
I got it right in the code snipet tho lol... So sorry bout that I'll fix the post now.
Pvy
Sent from my TEAM Powered Arc S

[MOD][GUIDE] How to Add Carrier Label in Statusbar

This guide is for adding Carrier Label in Statusbar, inspired by Motorola Moto X and HTC First
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Don't know how to decompile? You can ask me to build your SystemUI :good:
Things you will need
PC or Laptop
apktool, zipalign and others
WinRAR or WinZip
Notepad++
Patience!
Click to expand...
Click to collapse
So, lets begin..
INSTALLING APKTOOL AND OTHER TOOLS
STEP 1
You must install apktool to your PC from HERE and other tools HERE
Extract it to a same directory same as the screenshot below
Then, copy cmd from Windows/System32 Directory (ex. C:\Windows\System32) and move it your apktool directory​
STEP 2
Download zipalign from HERE, move it to Windows Directory (ex. C:\Windows)​
GUIDE FOR ADDING CARRIER LABEL TO STATUSBAR
STEP 1
Before continuing, please MAKE SURE your apktool version is v1.5.2 or lower. Newer version of apktool will gives you error! See here
Copy your framework-res.apk from system/framework and SystemUI.apk from /system/app/ (/system/priv-app/ For KK-Based) then place it in your apktool directory​
STEP 2
Open cmd in your apktool directory, type
Code:
apktool if framework-res.apk
and
Code:
apktool if SystemUI.apk
then
Code:
apktool d SystemUI.apk
STEP 3
Go to SystemUI\res\layout\
Open status_bar.xml with Notepad++
Go to this
For ICS-Based SystemUI
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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" />
For JB-Based SystemUI
Code:
<LinearLayout 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.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" />
For JB-4.2/4.3-Based SystemUI
Code:
<LinearLayout 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.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" />
For KK-Based SystemUI
Code:
<LinearLayout 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.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" />
add this between those line
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
so it will look like this
For ICS-Based
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<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" />
For JB-Based
Code:
<LinearLayout 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.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<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" />
For JB-4.2/4.3-Based
Code:
<LinearLayout 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.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<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" />
For KK-Based
Code:
<LinearLayout 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.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<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" />
and save​
STEP 4
For JB-Based, Go to SystemUI\res\layout\
Open status_bar_expanded_header.xml with Notepad++
Go to this
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
change to
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
and save​
STEP 5
Download this, place to the correct location on your compiled SystemUI​
STEP 6
Open cmd in your apktool directory, type
Code:
apktool b SystemUI al.apk
then open al.apk and SystemUI.apk with WinRAR, drag META-INF folder and AndroidManifest.xml from SystemUI.apk to al.apk same as the screenshot below, when it ask to compress click OK​
STEP 7
Open cmd in your apktool directory, type
Code:
zipalign -v 4 al.apk SystemUImod.apk
STEP 8
Move your SystemUImod.apk to your phone, rename to SystemUI.apk, move it to /system/app/ (/system/priv-app/ For KK-Based) and change permission to rw-r--r--
Then reboot​
reserved
CARRIER LABEL BEHAVIOR
CarrierLabel (for desired your custom color for Carrier Label, but if you using CM theme that changing your Clock's color to red, then CarrierLabel color will NOT changing (still white/holo_blue_light)
Clock (for following Clock's color, so if you using CM theme that changing your Clock's color to red, then Carrier Label color will turn to red too)
Click to expand...
Click to collapse
COLOR
holo_blue_light (for Holo Blue ex. Motorola Moto X Carrier Label on post #1)
white (for White ex. HTC First Carrier Label on post #1)
Click to expand...
Click to collapse
CREDITS TO
@Adi Aisiteru Reborn for his original guide here​[/CENTER]
Hmmm...nice guide my friends....
just one questions, is it possible to make the carrier label temporary disappear then a notification appear???
if you look closely, the status bar will stack up with a lot on icon if the the carrier label doesn't disappear and it will become more worse if they use center clock on their status bar....
@Adi Aisiteru Reborn, there's a question from another member, from my device forum, here's the question
iPusak Gaoq™ said:
Hmmm...nice guide my friends....
just one questions, is it possible to make the carrier label temporary disappear then a notification appear???
if you look closely, the status bar will stack up with a lot on icon if the the carrier label doesn't disappear and it will become more worse if they use center clock on their status bar....
Click to expand...
Click to collapse
Actually he's right. I'm not using Center Clock, but my Status Bar nearly full
(Vodafone in Indonesia lolz )
Are it's possible to make Carrier Label gone if there's a ongoing or unopened notification(s)?
Sent from my cm-10.1.2-coconut using Tapatalk 4 Beta
Diaz1999 said:
@Adi Aisiteru Reborn, there's a question from another member, from my device forum, here's the question
Actually he's right. I'm not using Center Clock, but my Status Bar nearly full
(Vodafone in Indonesia lolz )
Are it's possible to make Carrier Label gone if there's a ongoing or unopened notification(s)?
Sent from my cm-10.1.2-coconut using Tapatalk 4 Beta
Click to expand...
Click to collapse
good idea, but don't know yet where to start,. it can be improving smali code,.
Few links here worth reading - http://forum.xda-developers.com/showthread.php?t=1566639
Diaz1999 said:
@Adi Aisiteru Reborn, there's a question from another member, from my device forum, here's the question
Actually he's right. I'm not using Center Clock, but my Status Bar nearly full
(Vodafone in Indonesia lolz )
Are it's possible to make Carrier Label gone if there's a ongoing or unopened notification(s)?
Sent from my cm-10.1.2-coconut using Tapatalk 4 Beta
Click to expand...
Click to collapse
Hmm.. Yeah, it should be.
In fact, now that I think about it, it should be pretty simple.
I'll do some experimenting and I'll get back to you. It won't be today, sadly, because I'm not near a pc but it'll be the next few days for sure.
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
So, this is how we can have the carrier label and our notification icons, without it all taking up too much room. We want the carrier label to be on the left side of the statusbar, but to vanish when a notification comes in.
This is the code for the stock ICS statusbar, with the carrier label added:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_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">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Without going into too much detail the statusbar basically consists of two horizontal LinearLayouts, one on top of the other.
The first LinearLayout, which is the full width of the statusbar, contains all our notification icons, status icons, signal icons, clock and so on. In the above code, it's called the '@id/icons' LinearLayout.
The second LinearLayout, which is also the full width of the statusbar, contains our notification text. This is what we see when a notification arrives. This is called the '@id/ticker' LinearLayout. (In case you were wondering, this is a reference to tickertape.)
Normally the ticker layout is empty because, although you may have uncleared notifications, you're not getting one all the time. When you do get a notification, the layout stops being empty and now contains icons and text for a second or two. During this time, the icons layout is pushed upwards, effectively making it disappear off the top of the screen.
To make our carrier label disappear once there's at least one notification icon to display, all we need to do is basically do the same thing.
So, this bit of code here goes from:
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
to:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="fill_parent"
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
</LinearLayout>
Now, here's the catch. This is untested. I can't currently test this on my phone as it's too heavily modified and I don't have the stock SystemUI.apk anymore.
So it's up to you to try it out. Give it a whirl, see what happens and let me know...but make sure to always make a backup!
Ticklefish said:
So, this is how we can have the carrier label and our notification icons, without it all taking up too much room. We want the carrier label to be on the left side of the statusbar, but to vanish when a notification comes in.
This is the code for the stock ICS statusbar, with the carrier label added:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_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">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Without going into too much detail the statusbar basically consists of two horizontal LinearLayouts, one on top of the other.
The first LinearLayout, which is the full width of the statusbar, contains all our notification icons, status icons, signal icons, clock and so on. In the above code, it's called the '@id/icons' LinearLayout.
The second LinearLayout, which is also the full width of the statusbar, contains our notification text. This is what we see when a notification arrives. This is called the '@id/ticker' LinearLayout. (In case you were wondering, this is a reference to tickertape.)
Normally the ticker layout is empty because, although you may have uncleared notifications, you're not getting one all the time. When you do get a notification, the layout stops being empty and now contains icons and text for a second or two. During this time, the icons layout is pushed upwards, effectively making it disappear off the top of the screen.
To make our carrier label disappear once there's at least one notification icon to display, all we need to do is basically do the same thing.
So, this bit of code here goes from:
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
to:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="fill_parent"
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/carrier_label" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
</LinearLayout>
Now, here's the catch. This is untested. I can't currently test this on my phone as it's too heavily modified and I don't have the stock SystemUI.apk anymore.
So it's up to you to try it out. Give it a whirl, see what happens and let me know...but make sure to always make a backup!
Click to expand...
Click to collapse
Could you upload pics, carrier label with notifications working?
Enviado desde mi Nexus 7 usando Tapatalk 4 Beta
hi,
@op is it possible for you to add this mod to my system ui? in withe please
i only have pc on work, and i can not use it to personal works...
my phone is a neo v, with darkrom (cm 10.1 legacyxperia based)
i leave a link to my systemui and framework https://app.box.com/s/awblj9kf7kd40dzrdsxm
many thanks
AF_624 said:
hi,
@op is it possible for you to add this mod to my system ui? in withe please
i only have pc on work, and i can not use it to personal works...
my phone is a neo v, with darkrom (cm 10.1 legacyxperia based)
i leave a link to my systemui and framework https://app.box.com/s/awblj9kf7kd40dzrdsxm
many thanks
Click to expand...
Click to collapse
OK, give me some minutes to work
Sent from my cm-10.1.2-coconut using Tapatalk 4 Beta
AF_624 said:
hi,
@op is it possible for you to add this mod to my system ui? in withe please
i only have pc on work, and i can not use it to personal works...
my phone is a neo v, with darkrom (cm 10.1 legacyxperia based)
i leave a link to my systemui and framework https://app.box.com/s/awblj9kf7kd40dzrdsxm
many thanks
Click to expand...
Click to collapse
Done.
Here your SystemUI, download at the attachment
one is holo_blue_light Carrier Label
and another is white Carrier Label
Hmmm...i got another challenge for you guys :fingers-crossed:
this is for CM base roms that use CM Themes....is it possible to auto change the carrier label color matching the color in CM Themes??? it would be nice if the carrier label color change after we change our phone themes.... lets take an example HueRed Themes in Hue Themes By Kroz....all color in the status bar are red...so if the carrier label color auto change to match the themes color, it be perfect right???
iPusak Gaoq™ said:
Hmmm...i got another challenge for you guys :fingers-crossed:
this is for CM base roms that use CM Themes....is it possible to auto change the carrier label color matching the color in CM Themes??? it would be nice if the carrier label color change after we change our phone themes.... lets take an example HueRed Themes in Hue Themes By Kroz....all color in the status bar are red...so if the carrier label color auto change to match the themes color, it be perfect right???
Click to expand...
Click to collapse
Decompile yours, Go to /res/layout/
Open status_bar.xml
Search this line
Code:
android:textAppearance="@style/TextAppearance.StatusBar.[COLOR="Red"]CarrierLabel[/COLOR]"
change to
Code:
android:textAppearance="@style/TextAppearance.StatusBar.[COLOR="Red"]Clock[/COLOR]"
and erase all this inside /res/values/
styles.xml
Code:
[COLOR="Red"] <style name="TextAppearance.StatusBar.CarrierLabel" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/(for color; look at [URL="http://forum.xda-developers.com/showpost.php?p=43996483&postcount=4"][COLOR="Black"]post #4[/COLOR][/URL])</item>
</style>[/COLOR]
Then Carrier Label will follow your Clock's colour
Diaz1999 said:
Done.
Here your SystemUI, download at the attachment
one is holo_blue_light Carrier Label
and another is white Carrier Label
Click to expand...
Click to collapse
thanks bro, it works really nice
Sent from my Xperia Neo V using Tapatalk 2
Mod Help
Hello @Diaz1999,
Could you make me the status bar mod to my SystemUI.apk? I don't want to do it myself as I know I'm going to mess up something. If you would want to help me, I would like it in blue, just like the Moto X. Anyway, I hope you can help me. My email is https :// www . dropbox . com /s/ k4gpygje0su4mss/ SystemUI.apk (no spaces). Thanks!
williamgravel2000 said:
Hello @Diaz1999,
Could you make me the status bar mod to my SystemUI.apk? I don't want to do it myself as I know I'm going to mess up something. If you would want to help me, I would like it in blue, just like the Moto X. Anyway, I hope you can help me. My email is https :// www . dropbox . com /s/ k4gpygje0su4mss/ SystemUI.apk (no spaces). Thanks!
Click to expand...
Click to collapse
In progress, tomorrow will be uploaded
Will try tonight!!! good post as always

[GUIDE] [MOD] Themeing Your USB Mass Storage Place

shadman0 is here with new guide you can change your old USB Mass Storage Place to new You have already seen in other Rom
You Need
Framework-res.apk from Your Rom
Brain
Good XML Editor
Instructions:
1.Downloads The File from Attachment
2.Decompnile Your framework-res.apk
3.Copy two png to ur decompnile folder
4.Open layout/usb_storage_activity
5.Remove whole lines
6.Add this
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center" android:id="@id/main" android:padding="18.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<Button android:layout_gravity="center_horizontal" android:id="@id/mount_button" android:background="@drawable/usb_android" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<Button android:layout_gravity="center_horizontal" android:id="@id/unmount_button" android:background="@drawable/usb_android_connected" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/icon" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@color/transparent" android:layout_centerHorizontal="true" />
</LinearLayout>
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
<TextView android:textSize="24.0sp" android:gravity="center" android:id="@id/banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@string/usb_storage_title" android:layout_below="@id/icon" android:layout_centerHorizontal="true" />
<TextView android:textSize="14.0sp" android:gravity="center" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@string/usb_storage_message" android:layout_below="@id/banner" />
</LinearLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="100.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true">
<ProgressBar android:id="@id/progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="?android:attr/progressBarStyle" />
</RelativeLayout>
</RelativeLayout>
7.Compnile and Sign
8.Enjoy
Screenshot
Reserved
Very easy methods
Todays Offers
Press Thanks You will Get Thanks
shadman0 said:
Screenshot
Click to expand...
Click to collapse
how did u make ur rom transparent plx tell me bro..
nice guide.. .
Can u give me ur framework/res/values/style.xml i will make for u
shadman0 said:
Can u give me ur framework/res/values/style.xml i will make for u
Click to expand...
Click to collapse
ok.
awesome tutorial
review dude ... working on a custom rom 10.1 GT s6500D aka jena
D2Y aka E said:
review dude ... working on a custom rom 10.1 GT s6500D aka jena
Click to expand...
Click to collapse
Don't forget to see my work
shadman0 said:
Don't forget to see my work
Click to expand...
Click to collapse
okeee...

[Q] [Help!] Remove AT&T from Status Bar

I've a lovely ZTE Z998, and I enjoy it very much. I've been modding it slowly, and I've come to a liking with its look and feel. I've installed the Xposed Modules, Gravitybox and Tinted Status Bar, and I enjoy the flush design. There is just one flaw in it. I can not seem to remove the statusbar estate stealing 'AT&T' insignia on the left side. I wish to remove this completely, or maybe even a change to white would be okay. I will attach a screenshot of the bar, as well as my systemui.apk.
Phone: ZTE Z998 Mustang.
Version: 4.1.2
Carrier: AT&T.
Root: Yes.
status_bar.xml -
<?xml version='1.0' encoding='utf-8' ?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" androidrientation="vertical" android:id="@com.android.systemui:id/status_bar" android:background="@com.android.systemui:drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants">
<ImageView android:id="@com.android.systemui:id/notification_lights_out" androidaddingLeft="6.0dip" androidaddingBottom="2.0dip" android:visibility="gone" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@com.android.systemui:drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/icons" androidaddingLeft="6.0dip" androidaddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.BarLabel android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Sim" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@com.android.systemui:id/barlabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone" android:addStatesFromChildren="true" android:layout_width="50.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:marqueeRepeatLimit="1" />
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@com.android.systemui:id/moreIcon" android:visibility="gone" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@com.android.systemui:drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" androidrientation="horizontal" android:id="@com.android.systemui:id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" androidrientation="horizontal" android:id="@com.android.systemui:id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" androidrientation="horizontal" android:id="@com.android.systemui:id/signal_battery_cluster" androidaddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@com.android.systemui:id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@com.android.systemui:id/battery" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@com.android.systemui:id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/ticker" androidaddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@com.android.systemui:id/tickerIcon" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@com.android.systemui:id/tickerText" androidaddingTop="2.0dip" androidaddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Thanks for any help!
BrendonButton said:
I've a lovely ZTE Z998, and I enjoy it very much. I've been modding it slowly, and I've come to a liking with its look and feel. I've installed the Xposed Modules, Gravitybox and Tinted Status Bar, and I enjoy the flush design. There is just one flaw in it. I can not seem to remove the statusbar estate stealing 'AT&T' insignia on the left side. I wish to remove this completely, or maybe even a change to white would be okay. I will attach a screenshot of the bar, as well as my systemui.apk.
Phone: ZTE Z998 Mustang.
Version: 4.1.2
Carrier: AT&T.
Root: Yes.
status_bar.xml -
<?xml version='1.0' encoding='utf-8' ?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" androidrientation="vertical" android:id="@com.android.systemui:id/status_bar" android:background="@com.android.systemui:drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants">
<ImageView android:id="@com.android.systemui:id/notification_lights_out" androidaddingLeft="6.0dip" androidaddingBottom="2.0dip" android:visibility="gone" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@com.android.systemui:drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/icons" androidaddingLeft="6.0dip" androidaddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.BarLabel android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Sim" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@com.android.systemui:id/barlabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone" android:addStatesFromChildren="true" android:layout_width="50.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:marqueeRepeatLimit="1" />
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@com.android.systemui:id/moreIcon" android:visibility="gone" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@com.android.systemui:drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" androidrientation="horizontal" android:id="@com.android.systemui:id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" androidrientation="horizontal" android:id="@com.android.systemui:id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" androidrientation="horizontal" android:id="@com.android.systemui:id/signal_battery_cluster" androidaddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@com.android.systemui:id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@com.android.systemui:id/battery" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@com.android.systemui:id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout androidrientation="horizontal" android:id="@com.android.systemui:id/ticker" androidaddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@com.android.systemui:id/tickerIcon" android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@com.android.systemui:dimen/status_bar_icon_size" android:layout_height="@com.android.systemui:dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@com.android.systemui:id/tickerText" androidaddingTop="2.0dip" androidaddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Thanks for any help!
Click to expand...
Click to collapse
open root explorer on your phone
go to
/system/customize/ACC and open default.xml in text editor scroll almost to the bottom
there you will find a line with sku_id. change this to 42 (international) the att in the status bar will be gone after you save the file and reboot (att stock is 7)
toolhas4degrees said:
open root explorer on your phone
go to
/system/customize/ACC and open default.xml in text editor scroll almost to the bottom
there you will find a line with sku_id. change this to 42 (international) the att in the status bar will be gone after you save the file and reboot (att stock is 7)
Click to expand...
Click to collapse
It seems I do not have that folder, unless I am doing something incorreftly. I will attach some screenshots.
For referenxe, I entered the system folder on my root browser, and it was not there.
Bumping because I don't want to go further without your help.
BrendonButton said:
Bumping because I don't want to go further without your help.
Click to expand...
Click to collapse
I am on a htc 0ne m8, but if you dig around you will find a default.xml file some where with sku_id.
Hmm, I will search for it. Thank you for the help so far. c:
toolhas4degrees said:
I am on a htc 0ne m8, but if you dig around you will find a default.xml file some where with sku_id.
Click to expand...
Click to collapse
I searched my phone inside and outside of system, and found no such file. /:
BrendonButton said:
I searched my phone inside and outside of system, and found no such file. /:
Click to expand...
Click to collapse
Idk maybe it is a different xml file on your phone then..?
toolhas4degrees said:
Idk maybe it is a different xml file on your phone then..?
Click to expand...
Click to collapse
Would you possibly know any other files like this? I had assumed we could change the status_bar.xml inside of my systemUI.apk to do this.
BrendonButton said:
Would you possibly know any other files like this? I had assumed we could change the status_bar.xml inside of my systemUI.apk to do this.
Click to expand...
Click to collapse
all i know is that the att is set by the sku id. (aka carrier id) and to get rid of this you will most likely need to find the xml file that contains an sku id line and change it.
if you have a link to your rom, I will dig around and try to find it. but it might take me a while as I work 12 hrs a day.
toolhas4degrees said:
all i know is that the att is set by the sku id. (aka carrier id) and to get rid of this you will most likely need to find the xml file that contains an sku id line and change it.
if you have a link to your rom, I will dig around and try to find it. but it might take me a while as I work 12 hrs a day.
Click to expand...
Click to collapse
How should I go about linking you my ROM?
Bumping in hopes of an answer.

Categories

Resources