Hi guys...
i just wanna share to you all, this guide about how to move quickpanel toggle button to bottom.
how to do this, u have to decompile SystemUI.apk and edit StatusBarService.smali.
search this code :
and change mExpandedView & ExpandedView to mCloseView & CloseDragHandle
your new code should be :
save and close. now compile your SystemUI.apk.
i hope you like it, and dont forget to press thanks :good::good::good:
credit : .x.x.x.Peria@xda
i just wanna share to you all, this guide about how to move quickpanel toggle button to bottom.
how to do this, u have to decompile SystemUI.apk and edit StatusBarService.smali.
search this code :
Code:
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 352
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
iget-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->[COLOR="Red"]mExpandedView[/COLOR]:Lcom/android/systemui/statusbar[COLOR="red"]/ExpandedView[/COLOR];
invoke-virtual {v7, v3, v12}, Lcom/android/systemui/statusbar/[COLOR="red"]ExpandedView[/COLOR];->addView(Landroid/view/View;I)V
and change mExpandedView & ExpandedView to mCloseView & CloseDragHandle
your new code should be :
Code:
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 352
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
iget-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->[COLOR="Blue"]mCloseView[/COLOR]:Lcom/android/systemui/statusbar/[COLOR="blue"]CloseDragHandle[/COLOR];
invoke-virtual {v7, v3, v12}, Lcom/android/systemui/statusbar/[COLOR="blue"]CloseDragHandle[/COLOR];->addView(Landroid/view/View;I)V
save and close. now compile your SystemUI.apk.
i hope you like it, and dont forget to press thanks :good::good::good:
credit : .x.x.x.Peria@xda
Attachments
Last edited: