[Android General] Eboy Basit:
Items Required:-

Apktool 1.5.2 (MUST)

Notepad++

Attachment

Brain

Common sense

-Decompile SystemUI.apk

-Open systemui_src/res/layout

-Open gemini_status_bar_expanded.xml / tw_status_bar_expanded.xml {depends on your chipset}

Copy this and paste it in your expanded.

<include layout="@layout/eboybasit_ltoggles" />

Save it.

- Open res/values/colors.xml

● Copy the below given codes and paste it above </resources>

<color name="quickpanel_text_color_ing">#ff75899b</color>
<color name="quickpanel_text_color_off">#ff999fa4</color>
<color name="quickpanel_text_color_on">#ffffffff</color>

Save it.

After that Open string.xml

● Copy the below given codes and paste it above </resources>

<string name="quickpanel_data_text">Data</string>
<string name="quickpanel_sound_text">Sound</string>
<string name="quickpanel_vibrate_text">Vibration</string>

MERGE FILES OF ATTACHMENT IN YOUR SYSTEMUI

Recompile and decompile again...

Now its time for id replacement.Open public.xml and search the corresponding id and replace it in corresponding smali file as said below.

SystemUI\smali\com\mda\Ltoggle\GpsSettingButton.smali (6 hits)

Line 98: const v3, 0x7f090165<public type="id" name="quickpanel_gps_btn_icon"
Line 130: const v1, 0x7f020267<public type="drawable" name="quickpanel_icon_gps_on"
Line 133: const v4, 0x7f0a0010<public type="color" name="quickpanel_text_color_on"
Line 139: const v1, 0x7f020266<public type="drawable" name="quickpanel_icon_gps_off"
Line 142: const v4, 0x7f0a000f<public type="color" name="quickpanel_text_color_off"
Line 312: const v0, 0x7f0c011f<public type="string" name="quickpanel_gps_text"

SystemUI\smali\com\mda\Ltoggle\MobileDataSettingButton.smali (6 hits)

Line 142: const v3, 0x7f090166<public type="id" name="quickpanel_data_btn_icon"
Line 174: const v1, 0x7f020265<public type="drawable" name="quickpanel_icon_data_on"
Line 177: const v4, 0x7f0a0010<public type="color" name="quickpanel_text_color_on"
Line 183: const v1, 0x7f020264<public type="drawable" name="quickpanel_icon_data_off"
Line 186: const v4, 0x7f0a000f<public type="color" name="quickpanel_text_color_off"
Line 433: const v0, 0x7f0c01ba<public type="string" name="quickpanel_data_text"

SystemUI\smali\com\mda\Ltoggle\SoundSettingButton.smali (6 hits)

Line 127: const v3, 0x7f090169<public type="id" name="quickpanel_sound_btn_icon"
Line 159: const v1, 0x7f02026d<public type="drawable" name="quickpanel_icon_sound_on"
Line 162: const v4, 0x7f0a0010<public type="color" name="quickpanel_text_color_on"
Line 168: const v1, 0x7f02026c<public type="drawable" name="quickpanel_icon_sound_off"
Line 171: const v4, 0x7f0a000f<public type="color" name="quickpanel_text_color_off"
Line 478: const v0, 0x7f0c01bc<public type="string" name="quickpanel_sound_text"

SystemUI\smali\com\mda\Ltoggle\SyncSettingButton.smali (6 hits)

Line 103: const v3, 0x7f090167<public type="id" name="quickpanel_sync_btn_icon"
Line 135: const v1, 0x7f02026f<public type="drawable" name="quickpanel_icon_sync_on"
Line 138: const v4, 0x7f0a0010<public type="color" name="quickpanel_text_color_on"
Line 144: const v1, 0x7f02026e<public type="drawable" name="quickpanel_icon_sync_off"
Line 147: const v4, 0x7f0a000f<public type="color" name="quickpanel_text_color_off"
Line 315: const v0, 0x7f0c0129<public type="string" name="quickpanel_sync_text"

SystemUI\smali\com\mda\Ltoggle\VibrateSettingButton.smali (6 hits)

Line 157: const v3, 0x7f09016a<public type="id" name="quickpanel_vibrate_btn_icon"
Line 189: const v1, 0x7f020271<public type="drawable" name="quickpanel_icon_vibrate_on"
Line 192: const v4, 0x7f0a0010<public type="color" name="quickpanel_text_color_on"
Line 198: const v1, 0x7f020270<public type="drawable" name="quickpanel_icon_vibrate_off"
Line 201: const v4, 0x7f0a000f<public type="color" name="quickpanel_text_color_off"
Line 330: const v0, 0x7f0c01bd<public type="string" name="quickpanel_vibrate_text"

Save, recompile, sign it and push. :)

Credit And Thanks To:

- Allah Subhaana Wa Ta'alla

- Muhammad Sallal lahu alayhi wassallam

- MDA

- Om Rio Hutabarat (for vertical Toggles )

- Maaadr

- Hendry Zykes

- Eboy Basit

- You