[Galaxy Y GT-S5360 General] 73R3WY:
This guide will let you add 10 customizable app launchers on your SystemUI.

Launch any application from your statusbar panel without exiting your current app and going to your launcher..

Features:​

Change launcher text color

Change launcher text size

Change launcher icon size

Change launcher view (4 views to choose from)

Change launcher background (4 backgrounds to choose from)

Remove/Hide launcher slots

Easy to integrate to your SystemUI

Easy to configure and customize

Support up to API 18 (Jellybean 4.3 see Myth2014's posts), I also confirm it running in API 19 (Kitkat 4.4.2) EMULATOR ONLY, If you have KitKat ROM and tried/tested this mod, please tell me or post it, thank you.

Note: Smali files were decompiled using apktool_2.0.0b9, so pls use the same apktool version in decompiling and recompiling your SystemUI.apk, I also upload smali files to be used with apktool_1.5.2.

Steps:

1. Decompile your SystemUI.apk

2. Download the attachment (it contains the needed smali files, use LATEST VERSIONS and APPROPRIATE FOR THE APKTOOL VERSION you are using).

3. Extract the zip file to your decompiled SystemUI.apk folder (/SystemUI.apk/here).

4. Now, open your status_bar_expanded.xml (/SystemUI.apk/res/layout/status_bar_expanded.xml) then add this code after:

xmlns:android="http://schemas.android.com/apk/res/android">

OR anywhere in your status_bar_expanded layout OR in any free layout/tab if you have, its up to you to layout it as long as it looks like this:

This is the code that you will add:

<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>

Warning: DO NOT MAKE <com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI /> a child of a ScrollView because AppLauncherOnSystemUI already extends ScrollView and YOU CANNOT PUT a ScrollView inside another ScrollView.

Tip: If you want to add more Views around the launcher add the attribute android:layout_weight to specify the space occupied by each view and prevent clutter. I will not discuss about it, just search about the usage of android:layout_weight to allocate spaces for your views.

5. Save your edited status_bar_expanded.xml and that's it.

6. Recompile your SystemUI.apk

7. Push or flash your newly recompiled SystemUI.apk

8. Download the attached application.

9. Install the downloaded application and customize your SystemUI app launcher, you can edit/remove shortcuts and add only what you need.

Settings Instructions:

To customize your App Launcher on SystemUI, Open the SystemUIAppLauncher App.

- To change/assign the app shortcut, tap on the list and select the application you want.

- To remove app shortcut from SystemUI, long press on the app from the list and Delete (you can assign another app later if you want).

v0.1 Initial release:

Screenshots:

App Launcher on SystemUI:

OUTDATED (Check updates below)

App Launcher on SystemUI Settings:

OUTDATED (Check updates below)

Attachments:

Needed files: OUTDATED (Check updates below) v0.1

SettingsApp: OUTDATED (Check updates below) version code: 1

Updates:

v0.2 Update:

Needed files:

USE WITH APKTOOL v1.5.2 = View attachment 2893286 v0.2

USE WITH APKTOOL v2.0.0b9 = View attachment 2893287 v0.2

SettingsApp: View attachment 2893305 version code: 2

[ADDED] Resize launcher icons using the SettingsApp.

[FIXED] Inconsistency of icon sizes in the launcher. Now the icons have fixed sizes depending on the settings.

[FIXED] Force close of SettingsApp due to clicking of the application list while the program is still loading the installed applications.

View attachment 2893288View attachment 2893289View attachment 2893290

v0.3 Update:

Needed files:

USE WITH APKTOOL v1.5.2 = View attachment 2894394 v0.3

USE WITH APKTOOL v2.0.0b9 = View attachment 2894395 v0.3

SettingsApp: View attachment 2894415 version code: 3

[ADDED] Resize launcher text label sizes using the SettingsApp.

[NEW] SettingsApp layout.

[FIXED] Gone text label when assigning new app launcher if (icon_size < text_label_size).

View attachment 2894457View attachment 2894458View attachment 2894459View attachment 2894460

v0.4 Update:

Needed files:

USE WITH APKTOOL v1.5.2 = View attachment 2895584 v0.4

USE WITH APKTOOL v2.0.0b9 = View attachment 2895585 v0.4

[FIXED] Support to Android API versions higher than 16 (JELLYBEAN 4.2). Can be applied up to Android KitKat without the "not collapsing statusbar panel bug".

LATEST:

v0.5 Update:

Needed files:

USE WITH APKTOOL v1.5.2 = View attachment 2899309 v0.5

USE WITH APKTOOL v2.0.0b9 = View attachment 2899310 v0.5

SettingsApp: View attachment 2899311 version code: 4

[ADDED] New view layout of the launcher.

[ADDED] 4 launcher backgrounds (I used android default drawables :p). You can add any background you want with a simple tweak.

[ADDED] Launcher text colors can now be customized.

[ADDED] SettingsApp About menu added.

[FIXED] Application chooser only displays applications that can be launched.

View attachment 2899313View attachment 2899314

Thanks:

* xda-developers.com

* stackoverflow.com

* Pascal Cans (noobs.com) for his easy to use android-color-picker library (@GitHub)

* Myth2014 for reviewing my work and finding bugs

* and You ;)

Source Codes?

You want to play with the code? Add functions? Explore and Learn? Copy method snippets? You can check it at my GitHub.:good::

Suggestions? Comments? Bugs (I hope none)?

Just post a reply here and I will try to attend to it. (The word "try" always has a "catch" Exception, iykwim.)