Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,714 Members 41,482 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]Quickpanel toggle button at bottom

Tip us?
 
nitinvaid
Old
#1  
nitinvaid's Avatar
Recognized Themer - OP
Thanks Meter 4080
Posts: 4,171
Join Date: Mar 2011
Location: New Delhi

 
DONATE TO ME
Default [MOD]Quickpanel toggle button at bottom

here is a mod in which quick panel settings button are at bottom



DOWNLOAD LINK
http://www.mediafire.com/?r0ml74kqjc6fc8a

Current Device: Google Nexus 5
Secondary : Galaxy S4 GT-I9500
The Following 4 Users Say Thank You to nitinvaid For This Useful Post: [ Click to Expand ]
 
mjood
Old
#2  
Member
Thanks Meter 1
Posts: 43
Join Date: Dec 2011
For any rom ???
 
itsme12345
Old
#3  
itsme12345's Avatar
Senior Member
Thanks Meter 25
Posts: 194
Join Date: Sep 2008
Nice work bro... does it has 14 toggle icon. or just the stock.
 
kkrraazzyy
Old
#4  
kkrraazzyy's Avatar
Recognized Developer / Contributor
Thanks Meter 2855
Posts: 2,657
Join Date: Jan 2009
Location: XDA 24/7

 
DONATE TO ME
Nice work brother
 
Nikscas
Old
#5  
Nikscas's Avatar
Senior Member
Thanks Meter 12
Posts: 126
Join Date: Oct 2011
Location: Italia
great job working KPQ stock
 
Tonyroid
Old
#6  
Tonyroid's Avatar
Member
Thanks Meter 1
Posts: 33
Join Date: Feb 2012
Can you tell me how to locate quickpanel at bottom?

want to use for any rom..

thx man
 
jZanetti
Old
#7  
jZanetti's Avatar
Senior Member
Thanks Meter 44
Posts: 125
Join Date: Feb 2010
Location: Napoli

 
DONATE TO ME
have 14 toggle button???
 
Nar4
Old
#8  
Member
Thanks Meter 5
Posts: 84
Join Date: Apr 2011
Location: Saint Petersburg
Thumbs up HOW?

How did You do this? Instructions!!!!?
 
TheSG
Old
#9  
TheSG's Avatar
Senior Member
Thanks Meter 61
Posts: 563
Join Date: Oct 2011
Location: Lucknow
How to install ?

Sent from my GT-I9003 using xda premium
 
.x.x.x.Peria
Old
#10  
Member
Thanks Meter 40
Posts: 44
Join Date: Feb 2011
Prompt The "how to..."

I have Xperia Mini and I did bottom quickpanel in the following way (this info for experts - if You don't understand these infos then You probably can't done with success):

Edit StatusBarService.smali in SystemUI.apk - at the end of makeExpandedVisible() method (at line #778 in my case) I changed code to this:

Quote:
const v6, 0x7f030007

invoke-static {p1, v6, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroupLandroid/view/View;

move-result-object v5

check-cast v5, Lcom/lidroid/systemui/quickpanel/PowerWidget;

.local v5, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v5}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V

iget-object v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mCloseView:Lcom/android/systemui/statusbar/CloseDragHandle;

invoke-virtual {v6, v5, v11}, Lcom/android/systemui/statusbar/CloseDragHandle;->addView(Landroid/view/View;I)V

const v6, 0x7f030009

invoke-static {p1, v6, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroupLandroid/view/View;

move-result-object v5

check-cast v5, Lcom/android/systemui/statusbar/quickpanel/BrightnessSettingsView;

.local v5, brs:Lcom/android/systemui/statusbar/quickpanel/BrightnessSettingsView;
invoke-virtual {v5}, Lcom/android/systemui/statusbar/quickpanel/BrightnessSettingsView;->init()V

iget-object v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mCloseView:Lcom/android/systemui/statusbar/CloseDragHandle;

const/4 v11, 0x1

invoke-virtual {v6, v5, v11}, Lcom/android/systemui/statusbar/CloseDragHandle;->addView(Landroid/view/View;I)V

return-void
In original code was mExpandedView & ExpandedView instead of mCloseView & CloseDragHandle.

I spent a half day to figure out WHAT to modify (I did never edited smali before) but worth it!
Attached Thumbnails
Click image for larger version

Name:	device-2012-07-28-094305.png
Views:	305
Size:	68.7 KB
ID:	1226773  

The Following 3 Users Say Thank You to .x.x.x.Peria For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...