[Galaxy Y GT-S5360 Android Development] Ticklefish:
So here's your original xml:

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:orientation="horizontal" android:background="@drawable/title_jb_bar_header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:textSize="30.0dip" android:textStyle="bold" android:textColor="#ff000000" android:id="@id/jbheader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.RecentAppButton android:background="@drawable/btn_recent_app" android:layout_alignParentRight="true" android:layout_width="35.0px" android:layout_height="35.0px" android:layout_toLeftOf="@id/quick_settings" android:layout_toRightOf="@id/jbheader" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/quick_settings" android:layout_width="35.0px" android:layout_height="35.0px" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentRight="true" android:onClick="settingsButton" />
</RelativeLayout>
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/topwise_viewflow" />
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:background="@drawable/title_bar_shadow" layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="50.0dip">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="40.0dip" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:background="@drawable/sim_1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn0" android:paddingLeft="6.0dip" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
<ImageView android:background="@drawable/sim_2" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
</LinearLayout>
</LinearLayout>
<TextView android:textSize="0.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="35.0dip" android:layout_height="40.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="1.0dip" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ff000000" android:id="@id/noNotificationsTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="No Notifications" />
<TextView android:textColor="#ff000000" android:id="@id/ongoingTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Ongoing Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textColor="#ff000000" android:id="@id/latestTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Latest Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>

And you want your RecentApp button to be on the left of the quicksettings button?

Why not try using a LinearLayout instead of a RelativeLayout?

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"] <LinearLayout android:orientation="horizontal" android:background="@drawable/title_jb_bar_header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:textSize="30.0dip" android:textStyle="bold" android:textColor="#ff000000" android:id="@id/jbheader" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.RecentAppButton android:background="@drawable/btn_recent_app" android:layout_width="35.0px" android:layout_height="35.0px" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/quick_settings" android:layout_width="35.0px" android:layout_height="35.0px" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
</LinearLayout>
[/COLOR] <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/topwise_viewflow" />
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:background="@drawable/title_bar_shadow" layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="50.0dip">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="40.0dip" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:background="@drawable/sim_1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn0" android:paddingLeft="6.0dip" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
<ImageView android:background="@drawable/sim_2" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
</LinearLayout>
</LinearLayout>
<TextView android:textSize="0.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="35.0dip" android:layout_height="40.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="1.0dip" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ff000000" android:id="@id/noNotificationsTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="No Notifications" />
<TextView android:textColor="#ff000000" android:id="@id/ongoingTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Ongoing Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textColor="#ff000000" android:id="@id/latestTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Latest Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>

Then make the first item in the Layout expand until it basically forces the buttons into the right corner..

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:background="@drawable/title_jb_bar_header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView [COLOR="Red"]android:layout_width="0.0dip" android:layout_weight="1.0"[/COLOR] android:textSize="30.0dip" android:textStyle="bold" android:textColor="#ff000000" android:id="@id/jbheader" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.RecentAppButton android:background="@drawable/btn_recent_app" android:layout_width="35.0px" android:layout_height="35.0px" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/quick_settings" android:layout_width="35.0px" android:layout_height="35.0px" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
</LinearLayout>
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/topwise_viewflow" />
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:background="@drawable/title_bar_shadow" layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="50.0dip">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="40.0dip" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:background="@drawable/sim_1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn0" android:paddingLeft="6.0dip" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
<ImageView android:background="@drawable/sim_2" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="15.0dip" android:layout_height="15.0dip" android:layout_marginLeft="5.0dip" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="#ff6699cc" android:layout_gravity="center_vertical" android:id="@id/carrierlabel_spn1" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" />
</LinearLayout>
</LinearLayout>
<TextView android:textSize="0.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="35.0dip" android:layout_height="40.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="1.0dip" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ff000000" android:id="@id/noNotificationsTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="No Notifications" />
<TextView android:textColor="#ff000000" android:id="@id/ongoingTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Ongoing Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textColor="#ff000000" android:id="@id/latestTitle" android:background="#ff6699cc" android:paddingLeft="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Latest Activities" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>

And that should do it. Try it out and let me know what happens! :)

As for improvements...what did you want to improve?

---------- Post added at 07:18 PM ---------- Previous post was at 07:14 PM ----------

True, true..I'll just leave it there. Sorry about that. :highfive: