国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 手機教程 > 正文

如何讓狀態欄時間精確到秒顯示

2024-06-12 10:09:25
字體:
來源:轉載
供稿:網友

 一、狀態欄時間精確秒顯示(靠左邊)

1.首先,反編譯SystemUI.apk

2.找到文件:SystemUI.apkreslayouttw_status_bar.xml(推薦用Notepda+打開編輯)

3.刪除以下代碼:

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" />

4.找到以下代碼:

android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent"

android:layout_weight="1.0">

5.再在以上代碼后面回車添加以下代碼:

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" />

6.編輯好后保存,然后編譯SystemUI文件

7.編譯后把reslayouttw_status_bar.xml,和resources.arsc文件復制到原SystemUI.apk替換一下,最后再復制到手機,修改權限再重啟就可以了

二、狀態欄時間精確秒顯示(原始靠右邊)

1.首先,反編譯SystemUI.apk

2.找到文件:SystemUI.apkreslayouttw_status_bar.xml

3.找到以下代碼:

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" />

改為:

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" />

4.找到以下代碼:

android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent"

android:layout_weight="1.0">

再在以上代碼后面回車添加以下代碼:

android:layout_width="wrap_content" android:layout_height="fill_parent">

5.編輯好后保存,然后編譯SystemUI文件

6.編譯后把reslayouttw_status_bar.xml,和resources.arsc文件復制到原SystemUI.apk替換一下,最后再復制到手機,修改權限再重啟就可以了


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 平乐县| 珠海市| 牟定县| 邵武市| 宁陵县| 会昌县| 德兴市| 郑州市| 海晏县| 巨野县| 乃东县| 靖州| 乌拉特后旗| 巴楚县| 长乐市| 濉溪县| 莱西市| 文水县| 威海市| 潜山县| 彭州市| 五河县| 毕节市| 准格尔旗| 西乌珠穆沁旗| 寿宁县| 罗平县| 交口县| 波密县| 肥乡县| 时尚| 合川市| 西充县| 思南县| 福清市| 习水县| 贡嘎县| 柳林县| 郓城县| 广宁县| 白银市|