search 登录 注册
arrow_back返回列表
ID:105455
dark_modedark_modedark_modestarstar
Lv.1 韶华一笑间
edit_note帖子 7
stars积分 3,727
event加入 2012-04-27
安卓交流

教你安卓状态栏显示运营商

schedule发表于 2013-09-27 13:07:00 visibility查看 288 chat_bubble回复 2
#1 楼主
首先反编译UI 然后再res/layout目录下 msim_status_bar.wml(状态栏整体布局)找到 <LinearLayout android:orientation=“horizontal“ android:id=“@id/icons“ android:layout_width=“fill_parent“ android:layout_height=“fill_parent“>*br**br*在后面添加一行代码 <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance=“@android:style/TextAppearance.StatusBar.Icon“ android:gravity=“left|center“ android:paddingLeft=“6.0dip“ android:layout_width=“wrap_content“ android:layout_height=“fill_parent“ android:singleLine=“true“ /> 回编替换即可【4.0专用】

全部回复 (2)

ID:12385
light_modedark_mode
Lv.2 独赏二月雪
2013-09-27 19:40:00 沙发
4.1可以
ID:76543
light_modestarstar
Lv.2 独赏二月雪
2013-09-28 06:12:00 板凳
看不懂
登录 后才能回复