Remove All Ads from XDA
Honor View 10
Thread Deleted Email Thread
Prev Previous Post   Next Post Next
Hello Guys,Hope everyone is fine


Today iam going to guide you how to add quickpanel button on statusbar to change layouts with cool sliding animation.

First of all this is not my work I would like to thank XDA Recognized Themer @b16h22 For allowing me to make this guide.

So lets start..

1. First of all download the attached files and merge with your SystemUI.apk
2. Now open statusbar.expanded and add these codes on the top lines anywhere where you want the switching button.

  <com.panel.Button android:id="@id/button" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
3 And then add this code anywhere..

       <com.panel.Panel android:id="@id/panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
                   <LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
                             Your First layout
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
                  Your Second Layout

4.Now open ids.xml and add these in the last above resources .

  <item type="id" name="panel">false</item>
    <item type="id" name="button">false</item>
5.Recompile your SystemUI.apk.
6.Decompile it again.
7.Now open public.xml in values folder
8.Search for panel and copy its id
11.Now open Panel.smali in smali/com/panel/panel and search for 0x7f09004d and replace it with panel id .
13.Open public.xml in values folder
14.Search for button and copy its id
15.Now open Button.smali in smali/com/panel/Button and search for 0x7f09004e and replace it with Button id .
17.Open public.xml in values folder
18.Search for btn drawable and copy its id.
19.Now open Button.smali in smali/com/panel/Button and search for 0x7f020190 and replace it with btn id .

20.Now compile your SystemUI.apk
And done.


Attached Files
File Type: rar quickpanel_btn.rar - [Click for QR Code] (5.8 KB, 4716 views)
The Following 12 Users Say Thank You to san122 For This Useful Post: [ View ] Gift san122 Ad-Free
Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes