Default [MOD][ICS] Remove header drawer in notif drawer

Hello,

Here is a trick only for ROM AOSP with Android 4.0 (ICS)

If you have modified your SystemUI.apk to have the date in status bar near clock, perhaps like me, you want to remove header drawer of notification area. In the header drawer, there are 3 or 4 elements: the date, the quick settings button, the weather panel, and the clear notifications button. For me, theses elements are not essentials to display. Therefore, I find a solution to remove the header drawer by resize its height to 0. See bellow screenshots before and after.

Steps:

- Get your SystemUI.apk
- Get your background image, because its will restore to default after
- Decompile SystemUI.apk
- Navigate to …\systemui\res\layout\
- Edit status_bar_expanded.xml
- Search the line
Code:
<RelativeLayout android:id="@id/drawer_header" android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
- Replace
Code:
height="wrap_content"
with
Code:
height="0.0dip"
- Save status_bar_expanded.xml
- Recompile + sign SystemUI.apk and replace it in your Android
- Reboot Android
- Restore your background.

If I helped you, please press my Thanks button.
XDA mini-guide to add the date in the status bar : http://forum.xda-developers.com/showpost.php?p=27240381
Attached Thumbnails
Click image for larger version

Name:	733759headerremoved.png
Views:	1169
Size:	20.9 KB
ID:	2483674   Click image for larger version

Name:	362501classic.png
Views:	52
Size:	29.0 KB
ID:	2484213  
Galaxy S2 rom CM11 & Galaxy Tab 2.10' rom MoKee KitKat.
Author of VPN Lifeguard.