[Galaxy Note 4 Themes and Apps] dicksteele:
Now I have a big fricking clock, now what?

How about let's CENTER that big fricking clock?

Open Windows explorer and go to your AdvancedApkTool installation directory

Now the key is you need to put the SystemUI.apk you just recompiled to change the clock size into the C:\AdvancedApkTool\2-In. Because that has your code changes. You don't want those overwritten.

Now follow the steps in Post #1 and decompile your new SystemUI.apk

The file you will be editing is the status_bar.xml

You are going back to the clock area

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock"

After the line </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> replace what is RED with what is in BLUE

[COLOR="Red"]<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/knoxCustomStatusBarText" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:includeFontPadding="false" />
<include layout="@layout/system_icons" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="1.0dip" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>[/COLOR]

[COLOR="RoyalBlue"]</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" >
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<include layout="@layout/system_icons" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>[/COLOR]

The bottom of the status_bar.xml should look like this

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" >
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<include layout="@layout/system_icons" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

If you are using Notepad++ (hopefully you are) make it line up like the other code.

Recompile it. If you have everything right it should complete successfully. It needs to be exact.

The code is right, don't come complaining it does not work. If it did not work, you did something wrong.

Download ClockMod.zip

https://www.androidfilehost.com/?fid=673368273298969483

The compiled SystemUI.apk file is in C:\AdvancedApkTool\4-Done.

Add your compiled SystemUI.apk to the system,priv-app,SystemUI directory in the ClockMod.zip and flash.

Credit asc1977 from How to center clock which disappear on lockscreen post.

One part for the clock center code was used.

If you feel brave. Do the entire mod.