[Galaxy Y GT-S5360 General] mariozawa:
CREDITS

LIDROID

THIS THREAD and THIS THREAD

POTATOINC
​

You must know how to decompile an APK

SCREENSHOTS

Without modifying StatusbarService.smali

After modifying StatusbarService.smali

First go to this thread by @dcsms

[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy Y

Skip step 3. (You don't need to edit StatusBarService.smali for now)

Then go to my thread (Now its usefull:D)

[GUIDE] Remove STOCK TW toggles on expandedView or just move it to anywhere

Because we need to remove stock toggles in our expandedView

Download this smali files from POTATOINC

http://xdaforums.com/attachment.php?attachmentid=2506685&stc=1&d=1389366819

Copy it to your SystemUI/smali

Then go to your SystemUI/res/layout/status_bar_expanded.xml

add or you can put it anywhere you like

[FONT=Century Gothic]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content android:orientation="vertical"/>[/FONT]

So it will looks like this

[FONT=Century Gothic]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"[/FONT]
[FONT=Century Gothic] xmlns:android="http://schemas.android.com/apk/res/android">[/FONT]
[FONT=Century Gothic] <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">[/FONT]
[FONT=Century Gothic] <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">[/FONT]
[FONT=Century Gothic] [COLOR=Magenta]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/>[/COLOR][/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />[/FONT]
[FONT=Century Gothic] <Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />[/FONT]
[FONT=Century Gothic] </LinearLayout>[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.NotificationLinearLayout>[/FONT]
[FONT=Century Gothic] </ScrollView>[/FONT]
[FONT=Century Gothic] <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />[/FONT]
[FONT=Century Gothic] </FrameLayout>[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.ExpandedView>[/FONT]

Decompile SystemUI.apk

If you have some FC issues its better to attach LOGCAT.

Also test it on other devices then report back here. THANKS:o
​