Hi guys,
today with the permission of sir @PineappleOwl I'm going to show you how to float the SystemUI on JB 4.1 TW ROMs by he's floating SystemUI guide.... this is a very easy process but I'll be here if you get problems
Requirements:
1. Brain
2. Patience
3. Experience (little bit)
4. apktool or anything like it
This guide is divided into 2 parts
1. How to float the whole expanded panel
2. How to set different floatings for main expanded panel and the close-drag-handle
How to float the whole expanded panel:
1. Decompile your SystemUI.apk
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Go to line no. 2 which is:
4. Now delete this from it:
5. Now add these at the end of the line:
now you have to set the paddings here according to your needs...... I assume you know what android:padding do
How to set different floating for main expanded panel and close-drag-handle:
1. Decompile your SystemUI
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Now for main expanded panel go to line no. 5 which is:
now add these to it:
now for close-drag-handle find this:
again add these before:
4. Now set the paddings like you want them to be
5. Recompile, sign, push, reboot and enjoy !
Credits:
@PineappleOwl
today with the permission of sir @PineappleOwl I'm going to show you how to float the SystemUI on JB 4.1 TW ROMs by he's floating SystemUI guide.... this is a very easy process but I'll be here if you get problems
Requirements:
1. Brain
2. Patience
3. Experience (little bit)
4. apktool or anything like it
This guide is divided into 2 parts
1. How to float the whole expanded panel
2. How to set different floatings for main expanded panel and the close-drag-handle
How to float the whole expanded panel:
1. Decompile your SystemUI.apk
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Go to line no. 2 which is:
Code:
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"Code:
android:paddingTop="@dimen/notification_panel_padding_top"Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"How to set different floating for main expanded panel and close-drag-handle:
1. Decompile your SystemUI
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Now for main expanded panel go to line no. 5 which is:
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"5. Recompile, sign, push, reboot and enjoy !
Credits:
@PineappleOwl