[Sony Xperia Miro, Tipo (Dual), J, E] zero_omar:
I tweaked it a little but I want to add the rotation lock toggle and brightness toggle but systemUI crashes when I add them :(

I will release it as soon as I figure it out

for now can any one help me to add them

this is the code I'm currently using

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="54.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textSize="40.0dip" android:id="@id/clock_expanded" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginRight="-4.0dip" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_clear" android:scaleType="center" android:contentDescription="@string/accessibility_clear_all" />
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="54.0dip">
<ImageView android:id="@id/wifi_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_wifi_on" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/bluetooth_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_bluetooth_on" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/switch_sim_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_sim_switch_default_sim_card_sim1" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/sound_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_sound_on" android:scaleType="center" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>