So this is only for mm, for nougat Idk what xml and strings there are but it should be almost the same, btw let's start.
Decompile SystemUI and open /res/layout/sec_keyguard_clock_single_view.xml, then from this:
Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/keyguard_sec_clock_single_clock_date_wrapper" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.keyguard.status.KeyguardTextClock android:textSize="@dimen/kg_singleclock_time_text_size_normal" android:textColor="@color/theme_textclock_color" android:gravity="center" android:id="@id/keyguard_single_clock_time" android:focusable="false" android:clickable="false" android:layout_width="@dimen/kg_singleclock_time_width" android:layout_height="wrap_content" android:minHeight="@dimen/kg_singleclock_time_height" android:fontFamily="clock2016" android:format12Hour="@string/status_view_12_hours_format" android:format24Hour="@string/status_view_24_hours_format" style="@style/keyguard_clock_weather_text_shadow" />
<com.android.keyguard.status.KeyguardDateView android:textSize="@dimen/kg_singleclock_date_text_size" android:textColor="@color/theme_clock_date_color" android:gravity="center_horizontal" android:id="@id/keyguard_single_clock_date" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:minHeight="@dimen/kg_singleclock_date_height" android:fontFamily="sans-serif" style="@style/keyguard_clock_weather_text_shadow" />
</LinearLayout>
To this:
Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/keyguard_sec_clock_single_clock_date_wrapper" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.keyguard.status.KeyguardTextClock android:textSize="@dimen/kg_singleclock_time_text_size_normal" android:textColor="@color/theme_textclock_color" android:gravity="center" android:id="@id/keyguard_single_clock_time" android:focusable="false" android:clickable="false" android:layout_width="@dimen/kg_singleclock_time_width" android:layout_height="wrap_content" android:minHeight="@dimen/kg_singleclock_time_height" [COLOR=red]android:fontFamily="clock2017L"[/COLOR] android:format12Hour="@string/status_view_12_hours_format" android:format24Hour="@string/status_view_24_hours_format" style="@style/keyguard_clock_weather_text_shadow" />
[COLOR=red]<com.android.keyguard.status.KeyguardTextClock android:textSize="@dimen/kg_singleclock_time_text_size_normal" android:textColor="@color/theme_textclock_color" android:gravity="center" android:id="@id/keyguard_single_clock_time" android:focusable="false" android:clickable="false" android:layout_width="@dimen/kg_singleclock_time_width" android:layout_height="wrap_content" android:minHeight="@dimen/kg_singleclock_time_height" android:fontFamily="clock2017L" android:format12Hour="@string/status_view_minutes_format" android:format24Hour="@string/status_view_minutes_format" style="@style/keyguard_clock_weather_text_shadow" />[/COLOR]
<com.android.keyguard.status.KeyguardDateView android:textSize="@dimen/kg_singleclock_date_text_size" android:textColor="@color/theme_clock_date_color" android:gravity="center_horizontal" android:id="@id/keyguard_single_clock_date" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:minHeight="@dimen/kg_singleclock_date_height" [COLOR=red]android:fontFamily="sec-roboto-condensed" android:textAllCaps="true" android:textStyle="bold"[/COLOR] style="@style/keyguard_clock_weather_text_shadow" />
</LinearLayout>
After that go to /res/values/strings.xml and change this:
Code:
<string name="status_view_12_hours_format">h:mm</string>
<string name="status_view_24_hours_format">kk:mm</string>
To this:
Code:
<string name="status_view_12_hours_format">[COLOR=red]h[/COLOR]</string>
<string name="status_view_24_hours_format">[COLOR=red]kk[/COLOR]</string>
[COLOR=red]<string name="status_view_minutes_format">mm</string>[/COLOR]