一丶反编译状态栏
二丶用re管理器打开反编译生成的systemui-src/res/layout/status_bar.xml(用文本编辑打开)
然后将以下代码复制到相应位置(位置自定义
推荐在
<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">
这个后面。)
代码是这个:
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:gravity="left" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="这里是自定义文字" />
编辑好之后保存退出
三丶删除status_bar.xml.bak
之后回编状态栏
二丶用re管理器打开反编译生成的systemui-src/res/layout/status_bar.xml(用文本编辑打开)
然后将以下代码复制到相应位置(位置自定义
推荐在
<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">
这个后面。)
代码是这个:
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:gravity="left" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="这里是自定义文字" />
编辑好之后保存退出
三丶删除status_bar.xml.bak
之后回编状态栏