[Android Q&A, Help & Troubleshooting] Code4U:
[MENTION=5056266]lacoursiere18[/MENTION]

Here in red is the lines I need to add,I followed instruction best I could. I dont think Im placing them right.Apk compiles with no error.

<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"

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

<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">

<com.potato.systemui.clocks.ClockCenter android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />

</LinearLayout>

<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">

<com.potato.systemui.clocks.ClockLeft android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:paddingLeft="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="1.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />

<com.potato.systemui.clocks.ClockRight android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

</LinearLayout>

<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="#000" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">

<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">

<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />

<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />

</ImageSwitcher>

<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">

<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />

<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />

</com.android.systemui.statusbar.TickerView>

</LinearLayout>

<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingR

Here is my XMl everything works but potato clock. I believe its because the lines arent in correct spot,but im not sure. The added lines are red also.

<?xml version="1.0" encoding="utf-8"?>

<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"

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

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

<ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />

<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">

<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">

<TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

<ImageView android:id="@id/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />

<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />

<com.potato.systemui.clocks.ClockLeft android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:paddingLeft="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />

</LinearLayout>

<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />

<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">

<com.potato.systemui.clocks.ClockCenter android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />

<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />

<TextView android:textSize="@dimen/status_bar_battery_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:layout_marginStart="@dimen/status_bar_battery_text_marginStart" />

<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="3.0dip" />

</LinearLayout>

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:ellipsize="none" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:paddingStart="6.0dip" systemui:ampmSmall="false" />

<com.potato.systemui.clocks.ClockRight android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textStyle="normal" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

</LinearLayout>

</LinearLayout>

<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">

<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="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:id="@id/tickerText" android:paddingTop="2.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">

<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />

<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />

</com.android.systemui.statusbar.phone.TickerView>

</LinearLayout>

<com.android.systemui.statusbar.BatteryBar android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />

<potato.mariozawa.statusbar.CPUSpy android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />

<potato.mariozawa.statusbargradient.Gradient android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" />

</com.android.systemui.statusbar.phone.PhoneStatusBarView>

Here's the log errors I had to separate them so it could fit on this page.

Hope this is helpfull. If not I have the full log in Dropbox.

08-12 09:33:08.931 E/AndroidRuntime(7534): android.view.InflateException: Binary XML file line #11: Error inflating class com.potato.systemui.clocks.ClockLeft

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.createView(LayoutInflater.java:626)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.parseInclude(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.inflate(LayoutInflater.java:498)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.inflate(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.inflate(LayoutInflater.java:398)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.inflate(LayoutInflater.java:354)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.View.inflate(View.java:18366)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:470)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3215)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3186)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:397)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.BaseStatusBar.start(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:435)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.os.Handler.dispatchMessage(Handler.java:102)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.os.Looper.loop(Looper.java:157)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.app.ActivityThread.main(ActivityThread.java:5356)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at java.lang.reflect.Method.invokeNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at java.lang.reflect.Method.invoke(Method.java:515)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at dalvik.system.NativeStart.main(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534): Caused by: java.lang.reflect.InvocationTargetException

08-12 09:33:08.931 E/AndroidRuntime(7534):	at java.lang.reflect.Constructor.constructNative(Native Method)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.view.LayoutInflater.createView(LayoutInflater.java:600)

08-12 09:33:08.931 E/AndroidRuntime(7534):	... 41 more

08-12 09:33:08.931 E/AndroidRuntime(7534): Caused by: java.lang.RuntimeException: native typeface cannot be made

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.graphics.Typeface.<init>(Typeface.java:326)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at android.graphics.Typeface.createFromAsset(Typeface.java:300)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.potato.systemui.clocks.Clock.<init>(Clock.java:105)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.potato.systemui.clocks.Clock.<init>(Clock.java:144)

08-12 09:33:08.931 E/AndroidRuntime(7534):	at com.potato.systemui.clocks.ClockLeft.<init>(ClockLeft.java:17)

08-12 09:33:08.931 E/AndroidRuntime(7534):	... 44 more