[GUIDE]Tab SystemUI

Search This thread

PineappleOwl

Senior Member
Mar 22, 2013
525
968
Good day devs, I have something new here not new but I think it is. :D

What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.

941806_601159553278742_1777791751_n.jpg


As I was inspired by Sir serajr@xda's SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again. :D

Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.

What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK

Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
    <com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,

Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock. :)
Code:
  <com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
    <com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
                <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
                    <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                        <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" />
                        <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" />
                        <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <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" />
                        <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <Button android:textSize="13.0sp" android:layout_gravity="center" 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="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
                    </com.android.systemui.statusbar.NotificationLinearLayout>
                </ScrollView>
                <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
            </FrameLayout>
        </LinearLayout>
        <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
            <include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
        </ScrollView>
        <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
            <include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
        </ScrollView>
    </com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
    <public type="drawable" name="tab2" id="0x7f02009d" />
    <public type="drawable" name="tab3" id="0x7f02009e" />
    <public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this

0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029

12. Open the smali file, TabButtons.smali and find this ids.

0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e

13. Save everything and compile your SystemUI and push or flash it, I recommend flashing. :)

Download Link:
PINEAPPLEOWL

Note/Ads: Lenox V2.1 have this kind of UI. :D

Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com
 

CheckYourScreen

Senior Member
Sep 19, 2012
978
3,035
Delhi
Good day devs, I have something new here not new but I think it is. :D

What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.

941806_601159553278742_1777791751_n.jpg


As I was inspired by Sir serajr@xda's SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again. :D

Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.

What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK

Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
    <com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,

Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock. :)
Code:
  <com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
    <com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
                <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
                    <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                        <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" />
                        <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" />
                        <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <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" />
                        <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <Button android:textSize="13.0sp" android:layout_gravity="center" 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="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
                    </com.android.systemui.statusbar.NotificationLinearLayout>
                </ScrollView>
                <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
            </FrameLayout>
        </LinearLayout>
        <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
            <include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
        </ScrollView>
        <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
            <include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
        </ScrollView>
    </com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
    <public type="drawable" name="tab2" id="0x7f02009d" />
    <public type="drawable" name="tab3" id="0x7f02009e" />
    <public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this

0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029

12. Open the smali file, TabButtons.smali and find this ids.

0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e

13. Save everything and compile your SystemUI and push or flash it, I recommend flashing. :)

Download Link:
PINEAPPLEOWL

Note/Ads: Lenox V2.1 have this kind of UI. :D

Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com


Gud job buddy.. :good: :good: :good: :good: :good: :highfive: :highfive: :highfive: :highfive:
 
  • Like
Reactions: PineappleOwl

m4RinKo2

Senior Member
Oct 5, 2012
947
512
24
Awesome guide! Thanks. Will try later.

Sent from my GT-S5570I using xda app-developers app
 

markmellarpes

Senior Member
Aug 2, 2012
906
524
Taguig
Cant see the picture sir. Its too blurred,eeh,im on mobile right now. But i can say your systemui is awesome. :)

Sent from my GT-S5360 using Tapatalk 2

it is because of you master haha i try to upload em 1 by 1 :p
uploadfromtaptalk1383579560491.jpg
uploadfromtaptalk1383579577993.jpg
uploadfromtaptalk1383579593792.jpg
uploadfromtaptalk1383579610874.jpg
uploadfromtaptalk1383579627498.jpg

this guide is good so dont forget to give thanks to our master pineappleowl..haha :thumbup:

Sent from my GT-S5360 using xda premium
 
Last edited:

PineappleOwl

Senior Member
Mar 22, 2013
525
968
Please don't call me Sir..it feels awkward because I'm only 13 and younger than you !! XD :D :D

Anyways I will post if it works :)

Even if you are younger or older, respecting is a must sir. ;) good luck then.





Awesome guide! Thanks. Will try later.

Sent from my GT-S5570I using xda app-developers app


post some ss if done sir please?hehe




it is because of you master haha i try to upload em 1 by 1 :p
View attachment 2370866
View attachment 2370868
View attachment 2370869
View attachment 2370871
View attachment 2370872

Sent from my GT-S5360 using xda premium

I saw it on the group master, you are awesome as usual..xD mine is imageview.:p

Sent from my GT-S5360 using Tapatalk 2
 
  • Like
Reactions: ThE ROckStar

PineappleOwl

Senior Member
Mar 22, 2013
525
968
Grow up child i was askingfor just an apk...for the sake of android dont just put guides if u cant share the apk..
And u r telling to me download whole rom for a mere apk..grow up

Oh sorry sir. Thats rude. You can ask in a better and respectful manner sir, here it is, sorry again. :)

https://db.tt/mWYO1Mni

Sent from my GT-S5360 using Tapatalk 2
 

hell_lock

Inactive Recognized Developer
Jan 20, 2012
5,970
5,173
27
New Delhi
Lets say I was succesful in porting it on my Desire X. But how to handle the tabs?? as in, when I click the tabs how do I put something inside them? Should there be new xml files to handle it?
 

PineappleOwl

Senior Member
Mar 22, 2013
525
968
Lets say I was succesful in porting it on my Desire X. But how to handle the tabs?? as in, when I click the tabs how do I put something inside them? Should there be new xml files to handle it?

You can try to add another layout by making a linear layout with only height and width attrib and a nested <include layout.> something like that or you can try to make another linearlayout and put it there. ;)

Sent using Neighbors Wifi
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    Good day devs, I have something new here not new but I think it is. :D

    What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.

    941806_601159553278742_1777791751_n.jpg


    As I was inspired by Sir serajr@xda's SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again. :D

    Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.

    What we will be needed:
    Patience
    APK-Tool
    Algorithm
    Basic smali and xml
    Your very own SystemUI
    Know how to decompile APK

    Instruction:
    1. Download the zip file from the download link.
    2. Decompile your very own SystemUI.
    3. Extract the download link and paste it in your UI.
    4. At the ids, add these before </resources> at ids.xml under values folder
    Code:
    <item type="id" name="tabbutton">false</item>
    5. Now we will modify your expanded,
    Below this code,
    Code:
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
    Add this,
    Code:
    <com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
        <com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
    6. And before this line
    Code:
    </com.android.systemui.statusbar.ExpandedView>
    Add this,
    Code:
    </com.pineapple.TabUI.TabsContent>
    7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
    Make the Expanded something like this,

    Code:
    <com.pineapple.TabUI.TabButton........../>
    <com.pineapple.TabUI.TabButton...........>
    <LinearLayout>First Layout</LinearLayout>
    <LinearLayout>Second Layout</LinearLayout>
    <LinearLayout>Third Layout</LinearLayout>
    </com.pineapple.TabUI.TabsContent>
    If you cant follow sirs, kindly compare it with my stock. :)
    Code:
      <com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
        <com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
                    <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
                        <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                            <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" />
                            <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" />
                            <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                            <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" />
                            <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                            <Button android:textSize="13.0sp" android:layout_gravity="center" 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="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
                        </com.android.systemui.statusbar.NotificationLinearLayout>
                    </ScrollView>
                    <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
                </FrameLayout>
            </LinearLayout>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
                <include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
            </ScrollView>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
                <include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
            </ScrollView>
        </com.pineapple.TabUI.TabsContent>
    8. Save it, and recompile.
    9. Decompile the APK again (We only did these because we register the added resources)
    10. Go to public.xml and find these (the ids are bit different than yours,)
    Code:
    <public type="drawable" name="tab1" id="0x7f02009c" />
        <public type="drawable" name="tab2" id="0x7f02009d" />
        <public type="drawable" name="tab3" id="0x7f02009e" />
        <public type="id" name="tabbutton" id="0x7f090029" />
    11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
    Find this smali file, TabsContent.smali
    at the TabsContent.smali, find this

    0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029

    12. Open the smali file, TabButtons.smali and find this ids.

    0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
    0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
    0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e

    13. Save everything and compile your SystemUI and push or flash it, I recommend flashing. :)

    Download Link:
    PINEAPPLEOWL

    Note/Ads: Lenox V2.1 have this kind of UI. :D

    Credits:
    b16h22 for some comparison with his very own MultiPanelSwitcher
    serajr for inspire for his awesome UI
    LenoxDevs for there support
    android.developers.com
    3
    Grow up child i was askingfor just an apk...for the sake of android dont just put guides if u cant share the apk..
    And u r telling to me download whole rom for a mere apk..grow up

    You grow up sir. He post a guide so anyone can make it. You're lazy.
    3
    Grow up child i was askingfor just an apk...for the sake of android dont just put guides if u cant share the apk..
    And u r telling to me download whole rom for a mere apk..grow up

    Oh sorry sir. Thats rude. You can ask in a better and respectful manner sir, here it is, sorry again. :)

    https://db.tt/mWYO1Mni

    Sent from my GT-S5360 using Tapatalk 2
    2
    Lets say I was succesful in porting it on my Desire X. But how to handle the tabs?? as in, when I click the tabs how do I put something inside them? Should there be new xml files to handle it?
    2
    is this work on odex s6102 ?