[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] TheFixItMan:
code box?? why would you need that - looks pretty simple to me you dont need anything other than to decompile the apk and to open xml files in notepad++ (different from windows notpad so download it)

you can also compare it to mine

goto

http://xdaforums.com/showthread.php?t=2500901

download my status bar and decompile systemui.apk with apktool

open status_bar_expanded.xml and look at the following

<RelativeLayout android:orientation="horizontal" android:background="@drawable/square_normal" android:layout_width="fill_parent" android:layout_height="48.0dip" android:baselineAligned="false" android:layout_alignParentLeft="true">
<com.android.systemui.statusbar.policy.DigitalClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="48.0dip" android:layout_marginLeft="4.0dip" android:layout_alignParentLeft="true">
<TextView android:textAppearance=@style/TextAppearance.StatusBar.Expanded.Clock" android:ellipsize="none" android:gravity="center" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance=@style/TextAppearance.StatusBar.Expanded.Clock" android:ellipsize="none" android:gravity="center" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.systemui.statusbar.policy.DigitalClock>
<com.android.systemui.statusbar.policy.DateView android:textAppearance=@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="48.0dip" android:layout_marginLeft="6.0dip" android:layout_toRightOf="@id/clock" />
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginRight="4.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:layout_toRightOf="@id/date" android:contentDescription=@string/accessibility_settings_button" />
<Button android:textSize="15.0sp" android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginRight="6.0dip" android:text=@string/status_bar_clear_all_button" android:layout_alignParentRight="true" style=@style/Clear.Buttons" />
</RelativeLayout>

copy and paste that to yours

add any ids Styles Strings that are in the above to your xmls of the same name in the values folder - if they are already there do not add them again

copy DateView$1.smali DateView.smali DigitalClock.smali from smali\com\android\systemui\statusbar\policy to yours at same location

recompile

decompile the new apk (this adds public values)

open public.xml from the values folder

open dateview.smali

in dateview.smali find 0x7f070025

replace that value with the value in public.xml of <public type="string" name="status_bar_date_formatter"

open digitalclock.smali

find 0x7f090029

replace with the value in public.xml of <public type="id" name="timeDisplayBackground"

find 0x7f090028

replace with the value in public.xml of <public type="id" name="timeDisplayForeground"

recompile

I cant write full detail