[MOD][CM10.1]Centered Clock (for now) [Currently Alpha 8]

MR.Volkf

Senior Member
Aug 25, 2012
883
532
0
C:\Apktool & C:\TickleMyAndroid
[MOD][CM10.1]Centered Clock (for now)

How to Install?

1.Put the file to your sdcard
2.boot into recovery
3.flash the file
4.done
note:if you don't like the mod just flash backup in universal flasher folder

Download

CM10.1 ALPHA 5
100% Tranparent Status Bar+Centered Clock+White Clock:
DropBox

CM10.1 ALPHA 6

(alpha 6 dhiru latest build)
100% Transparent Status Bar+Centered Clock+White Clock
DropBox

CM10.1 ALPHA 7
Centered Clock
as per request for now only centered clock :eek: for transparent status bar use Tweakbox for Xposed Framework:cowboy:
DropBox

CM10.1 ALPHA
Centered Clock
Thanks for @martin.la.gib ;)
Center Clock for CM10.1 A8 : Centerclock CM10.1 A8 Blue ICS / Grey

ATTENTION : this MOD is not compatible with other MOD who used an other SystemUI.apk ("Task Manager in recent app" by TopDroid for exemple)

There are 2 colour : Blue ICS (SystemUI_center_clock.apk) and in grey (SystemUI_center_clock__grey.apk)
If you no happy, to return on default it's : SystemUI.apk

Installation :

- put the apk on your SD card
- with a ROOT explorer (Solid Explorer for exemple) go to : /system/app
- put the apk here (verify permissions :-rw-r--r--) and delete the older SystemUI.apk
- the phone reboot automatically
- Enjoy !!!



GUIDE:

If you want to change the colour of the clock
(For Centered Clock)

1.Open res/layout/status_bar.xml
find this line

Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ffffff" android:gravity="center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
2.Change this:

Code:
android:textColor="[B]#ffffff[/B]"
#ffffff : White
you can find hex code to change the colour of the clock

3.Done ! :D

If you want to change the colour of the clock
(For Stock Clock)

1.Open res/Values/Styles.xml

find this code:
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
        <item name="android:textSize">16.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffffffff</item>
    </style>
2.change this

Code:
<item name="android:textColor">#ffffffff</item>
#ffffff: white

@*android:color/holo_blue_light: stock colour (Blue)

3.Done! :D

 
Last edited:

cortesca

Senior Member
Jun 30, 2013
79
31
0
I have flashed and it looks very nice.

Is there a way to modify the transparency of the status bar? I mean, something similar such the clock changing color?

Thanks