[Galaxy Y GT-S5360 Themes and Apps] samsoul16:
GUYS PROUDLY PRESENTING YOU

SAM16'S QUICKPANEL SHORTCUTS

WHAT DOES IT DO??

Add DIffernet APP ShortCuts TO YouR STATUSBAR.!!! (others apps also if u want too:cowboy: :P :D)

Which ShOrTcUtS Are InCluDeD??

12 Diffrent Shorcuts Are include.

1. Settings

2. Browser

3. Camera

4. Music

5. Gmail

6. Playstore

7. Memo

8. Search

9. Mms

10. Youtube

11. TaskManager

12. Alarm

HOW TO DO IT..??

I will show u how to add *ONLY 1 SHORTCUT that is SETTINGS*. Procedure for rest is the same. Just change the last code in xml from Settings to Browser or Camera or etc. And change the background name from Settings to Brower or Camera or etc. And add the specific image file in ur res/drawable-ldpi folder.

1. Download Both The Zips...

a) First Zip which is *drawables.zip* contains all the images for the 12 shortcuts.U dont need to add them all to your res/drawable-ldpi folder. Just add the 1 whose shortcut u want and whose code u have added in xml u can delete rest of the pngs. Eg. If u want settings shortcut then only keep the settings.png dont add others to ur drawable-ldpi folder.

b) This Zip which is *smalli.zip* contains all the smalli files needed for the 12 shortcuts. The path is yash/sam/Shortcuts/..... U dont need to keep all the files in Shortcuts folder just keep Settings.smalli and Settings$1.smalli if u want only settings shortcut and delete the rest. But these files are just in kb so i prefer if u dont delete them.

2. Decompile ur Systemui Using Apkmanager or Apktool. Search Google or Xda for #HOW TO DECOMPILE APKS# i wont be explaining that.

3. Add the image from the drawables.zip whose shortcut u want in res/drawable-ldpi folder. I Have taken Settings shortcut as example so just add settings.png in res/drawable-ldpi.

4. Add the smalli files from smalli.zip in ur smalli folder. The folder in the smalli,zip is yash. So after adding it there will be a yash named folder in ur smalli folder including all previous folders of ur systemui.

5. Go to res/layout and open statusbar_expanded.xml and add this line

<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />

anywhere in A LinearLayout or A RelativeLayout where u want ur Settings Shortcut.

for newbies add after

<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<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" />

this code or search carrierlabel and add my line after it.

so after adding it will look like

<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<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" />
<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />
<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" />
</LinearLayout>

Now u are DONE..

JUST RECOMPILE AND ENJOY......!!!!!!!

THIS APP SHORTCUTS ARE MADE BY ME FROM JAVA AND NOT KANGED FROM ANY1...!! :P :D :) ;)

CREDITS

Spacecaker (USED 2 of ur lines buddy :P )

TJATOER

SCREENSHOTS

In NeXt PoSt :P​