[Android General] Abdullaharis:
Hello guys here is a small tut that help you to add 3 pages in notification panal

you need stock deodexed SystemUI.apk

1.Decompile SystemUI.apk

2.Download 3pages.zip from attachment. Extract and copy files to your decompiled SystemUI

3.Open res/values/strings.xml and add these codes

<string name="judul_halaman_1">Vp1</string>
<string name="judul_halaman_2">Vp2</string>
<string name="judul_halaman_3">Vp3</string>

4.Open res/layout/qs_panal.xml and add the text in blue

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.qs.QSContainer android:id="@id/quick_settings_container" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.qs.QSPanel android:id="@id/quick_settings_panel" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:animateLayoutChanges="true" />
</HorizontalScrollView>
<include android:visibility="gone" layout="@layout/quick_settings_brightness_dialog" />
<include android:visibility="gone" layout="@layout/quick_connect_layout_zero" />
[COLOR="Blue"]<include layout="@layout/vp_layout" />[/COLOR]
</com.android.systemui.qs.QSContainer>

5.In the same xml Find the text in green and copy it (it will be diffrent for you)

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.qs.QSContainer android:id="@id/quick_settings_container" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
[COLOR="Green"]<com.android.systemui.qs.QSPanel android:id="@id/quick_settings_panel" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:animateLayoutChanges="true" />[/COLOR]
</HorizontalScrollView>
<include android:visibility="gone" layout="@layout/quick_settings_brightness_dialog" />
<include android:visibility="gone" layout="@layout/quick_connect_layout_zero" />
<include layout="@layout/vp_layout" />
</com.android.systemui.qs.QSContainer>

6.Now open res/layout/vp1.xml and paste the previous text

it will look like this.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@+id/headerwangi" android:background="@drawable/vp_kurcolor" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ScrollView android:id="@+id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="DarkOrange"]<com.android.systemui.qs.QSPanel android:id="@id/quick_settings_panel" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:animateLayoutChanges="true" />[/COLOR]
</LinearLayout>
</ScrollView>
</RelativeLayout>

7.Now compile SystemUI and move to your device.

Credit:-

Ka4un