[Galaxy Y GT-S5360 General] kimkimkim09:
Yow Guys, Im kimkimkim09. Today Im Going to Teach you how to add Five Tabs On SystemUI.I Did This Mod on an AOSP statusbar. This can be implemented om GB Devices.The smali files were owned by my master PineappleOwl.So, big credits and thousand thanks for his permission.

Alright,Here We Go:

- First DOWNLOAD the zip file I Linked Below

LINK: http://upfile.mobi/597884

-Then EXTRACT that zip file I provided/linked above.

-Then, DECOMPILE your very own SystemUI.

-After that, MERGE the files that the zip file contains to your SystemUI.

NOTE: Here will be the noob-friendly guide of merging the files that my zip file contains.

-Put the "pineapple" folder to smali/com/pineapple

-Put these files inside your systemUI's layout folder

*kimmy_tab2.xml

*kimmy_tab3.xml

*kimmy_tab4.xml

*kimmy_tab5.xml

NOTE:This files were inside my zip

-Put these file into your systemui's drawable folder.These is the directory "systemui_src/res/drawable"

*tab_indicator.xml

NOTE:This file were inside my zip also.

-Put these png files inside your systemUI's drawable-ldpi , drawable-mdpi etc. folders.

*tab1.png

*tab2.png

*tab3.png

*tab4.png

*tab5.png

*tab_normal.png

*tab_pressed.png

NOTE:This pngs were also inside my zip.

-Open up your status_bar_expanded.xml and add this code.

<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="55.0dip" android:weightSum="1.0" android:layout_alignParentBottom="true">
<com.pineapple.TabUI.TabButton android:gravity="center" android:layout_gravity="center" android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="55.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
</LinearLayout>
<FrameLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="55.0dip">
<include layout="@layout/kimtot" />
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab2" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab3" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab4" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab5" />
</ScrollView>
</com.pineapple.TabUI.TabsContent>
</FrameLayout>

NOTE:The Kimtot layout were the first layout.I separated it from status_bar_expanded.xml to make it neat.But You can directly code your first layout there in the place of the kimtot layout.

-Add this to ids.xml

<item type"id" name="tabbutton">false</item>

-Recompile Your Work.

-Then Decompile It Again for the smali part.

-Open Up TabButton.smali and search for this value :

0x7f0202f1

And change it with the value of tab_indicator in your public.xml

NOTE:There are several 0x7f0202f1 inside this smali. Be sure to change it ALL with the value of tab_indicator in your public.xml

Then search this value:

0x7f0202fd

And change it with the value of tab1 in your public.xml

-Search these value also:

0x7f0202ff

And change it with the value of tab2 in your public.xml

-Search this also:

0x7f020301

And change it with the value of tab3 in your public.xml

-Search this value:

0x7f020320

And change it with the value of tab4 in your public.xml

-Search this value:

0x7f0202fe

And change it with the value of tab5 in your public.xml

-This will be the last part of the guide. Open up TabsContent.smali and search

0x7f0c00ef

And change it with the value if tabbutton in your public.xml

Recompile It And Sign It. Then Push!!

Thats all guys. This is my first guude here so sorry for the informality.

Press the thanks button guys, I cant accept donations coz I dont have credit card or anything.

Special Thanks to Master PineappleOwl For allowing me to make this guide.

"Having A Kind Heart In A Cruel World is courage, Not Weakness"

Press The Thanks Button If I Ever Helped You!