----------
看到了有友友需要,
特意把收藏的教程放了出来,
这个教程适用于大部分手机,
若是不行,也可以自行弄xp框架进行修改,
xp修改好像有人发过,我就不重贴了,
下面开始教程:
[forecolor=#DA0021]方法/步骤
1、
1.首先我们需要找到手机中一个名为SystemUI.apkreslayouttw_status_bar.xml的文件,你可以用任何第三方工具将它打开,只要能够进行编译,这里建议使用Notepda。
2、
2.有一段代码是:
android:textSize=“@dimen/status_bar_clock_text_size“ android:textColor=“#ff959595“
android:ellipsize=“none“ android:gravity=“left|center“ android:id=“@id/clock“
android:paddingLeft=“3.0dip“ android:layout_width=“wrap_content“
android:layout_height=“fill_parent“ android:singleLine=“true“
android:includeFontPadding=“false“ />
这里就是状态栏时间的代码,实在看不清楚的,可以在本经验种ctrl+c,找到后把它删除。
3、
3.接着往下找到一段代码:
android:paddingLeft=“4.0dip“ android:layout_width=“0.0dip“ android:layout_height=“fill_parent“
android:layout_weight=“1.0“>
4、
4.在第三步的代码后面(打换行)加上:
android:layout_width=“wrap_content“ android:layout_height=“fill_parent“>
android:textColor=“#ff959595“ android:gravity=“center“ android:id=“@+id/digitalClock“
android:layout_width=“wrap_content“ android:layout_height=“fill_parent“
android:singleLine=“true“ android:includeFontPadding=“false“ />
5、
5.完成之后记得保存,将reslayouttw_status_bar.xml,和resources.arsc文件复制到原SystemUI.apk替换一下。回编译,改权限,替换status_bar.xml。再替换到手机
6、
6.保存后修改手机权限,重启即可。[/forecolor]
我试过,只不过是以前的渣机。我也不怎么喜欢玩机,
需要的试试就行,
出了任何事故与本人无关,
仅供有需要的人测试