Hello Guys,
In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions. ;)
Developers are free to use this tutorial to mod their Rom but do give me proper credits. :cowboy:
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above :)
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Before the end tag of this linear layout Just add the below code
Add
So your final code for com.android.systemui.statusbar.policy.ToggleSlider will be
It should look like this

So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
Before


In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions. ;)
Developers are free to use this tutorial to mod their Rom but do give me proper credits. :cowboy:
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
REQUIREMENTS
1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above :)
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Code:
<com.android.systemui.statusbar.policy.ToggleSliderAdd
Code:
<include layout="@layout/akky_ltoggles" />Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="55.0dip" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" />
<include layout="@layout/akky_ltoggles" />
</LinearLayout>Screenshot
So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
SCREENSHOTS
Before
After
Aucun commentaire:
Enregistrer un commentaire