[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] 1982Strand:
Ok, my statusbar.xml looks different from the examples, so i'm not sure how exactly to edit it. After lots of tries that messed up my statusbar/phone in various ways i gotta ask here..

I'm simply trying to get the clock centered.

Below is the contents of my xml, i'd really appreciate it if someone could edit it so it would work, so i can see what i'm doing wrong..

Btw, i'm on MIUI ICS..

Thanks

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.TorchServiceView android:layout_gravity="top|left|center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="#ff000000" />
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/battery_indicator" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<com.android.systemui.statusbar.phone.BatteryIndicatorCharging android:layout_gravity="top|right|center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/battery_indicator_charging" android:src="@drawable/battery_indicator_charging" />
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/icons" android:orientation="horizontal" android:paddingLeft="6.0dip" android:paddingRight="6.0dip">
<LinearLayout android:layout_width="0.0dip" android:layout_height="fill_parent" android:paddingRight="6.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.CarrierLabel android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/carrier" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:singleLine="true" />
<LinearLayout android:layout_width="0.0dip" android:layout_height="fill_parent" android:id="@id/notification_icon_cluster" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:id="@id/moreIcon" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:layout_width="0.0dip" android:layout_height="fill_parent" android:id="@id/notificationIcons" android:orientation="horizontal" android:layout_weight="1.0" android:gravity="center_vertical" />
</LinearLayout>
</LinearLayout>
<com.android.systemui.statusbar.NetworkSpeedView android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/network_speed_view" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_marginRight="6.0dip" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/statusIcons" android:orientation="horizontal" android:gravity="center_vertical" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/signal_battery_cluster" android:orientation="horizontal" android:gravity="center">
<include android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/signal_cluster" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/battery" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clock" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:singleLine="true" android:paddingTop="1.0dip" />
</LinearLayout>
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/ticker" android:orientation="horizontal" android:paddingLeft="6.0dip" android:animationCache="false">
<ImageSwitcher android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:id="@id/tickerIcon" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:layout_width="0.0dip" android:layout_height="wrap_content" android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
<LinearLayout android:background="@drawable/status_bar_green_bar_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/returnToIncallScreen" android:gravity="center">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/callStateIcon" android:src="@drawable/status_bar_ic_return_to_incall_screen_normal" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" android:layout_marginLeft="5.0dip" android:text="@string/return_to_incall_screen" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/callIcons" android:orientation="horizontal" android:gravity="center_vertical" />
<Chronometer android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/callTimer" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" android:layout_marginLeft="5.0dip" />
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>