[MOD][ICS] Remove header drawer in notif drawer
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.
- 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
<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">
- 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
My devices :
Galaxy S2 rom MoKee KitKat & Galaxy Tab 2 10" rom MoKee KitKat.
Author of VPN Lifeguard.
GPU overclocking on the fly : my app for AOKP rom
Don't copy the iPhone fanboys, protect your privacy with security app as LBE
or App Ops or Privacy Guard (CM).