Y
yeshwanthvshenoy
Guest
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
and change to:
also change:
to:
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
and also for
4.Recompile and ur done!!
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!
Attachments
-
41.4 KB Views: 1,809
Last edited: