(>HOW TO<)Centre clock/clock colour blue

Search This thread

kitafung

New member
Mar 7, 2013
1
0

Attachments

  • Screenshot_2013-04-24-12-38-44.jpg
    Screenshot_2013-04-24-12-38-44.jpg
    27 KB · Views: 212

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Guide:

    Center Clock Mod
    Decompile SystemUI.apk
    Systemui/res/layout/tw_status_bar.xml

    Delete:

    Code:
    <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

    Then find this line and create a blank under it:

    Code:
    xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

    And enter these lines into the space:

    Code:
    <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
    	<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
    </LinearLayout>






    Blue clock

    SystemUI/res/values/styles.xml


    search for

    Code:
    <style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
            <item name="android:textSize">18.0dip</item>
            <item name="android:textStyle">normal</item>
            <item name="android:textColor">@android:color/[COLOR="Magenta"]holo_blue_light</item>[/COLOR]


    and change to

    Code:
    <style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
            <item name="android:textSize">20.0dip</item>
            <item name="android:textStyle">normal</item>
            <item name="android:textColor">@android:color/[COLOR="Red"]holo_blue_dark</item>[/COLOR]

    Recompile SystemUI
    1
    What are you guys using to decompile/recompile... I'm having issues compiling with apktool..

    Can someone write up a quick guide ?

    It seems I can decompile, can't compile with out errors tho.
    1
    yea,can someone make a flashible zip? Thanks
    1
    mine looks all crazy in notepad++, how do I get it to read as all text?

    you have to decompiele it with apktool

    Sent from my GT-I9300 using xda premium