[MOD][EE03][GINGERBREAD] Remove Clock from Status Bar

Paul627g

AC Moderator All-Star
Moderator
Nov 25, 2010
15,958
2,752
0
[INFO]Well I wanted to leave my contribution to Gingerbread so I brought you the Remove Clock from Status Bar mod. Took a bit of work seeing how things have changed from Froyo to GB but after some hours of looking at code I figured it out. Themers/Devs feel free to use in any of your builds. Thanks to p3dr0maz over at XDA for some guidance on getting some de compiling issues I was having.

Enjoy.. Paul627g

Remove Clock from Status Bar (Flash in CWM)

Restore Clock from Status Bar (Flash in CWM)

[WARN]This will break any changes to the SystemUI.apk you may have in place if its been modified.[/WARN]

Here is the line of code that I removed to accomplish this.

- SystemUI.apk

- Decompile using APK Manager 4.9

- res/layout/status_bar.xml

- Line 8 in Notepad ++

- Remove the following...

Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
- Save the file in Notepad ++ and compile the apk and flash!
[/INFO]
 
Last edited:

Trending Posts

Forum statistics

Threads
956,916
Messages
6,970,603
Members
3,163,651
Latest member
pns11