Hi guys,
today with the permission of sir @SpaceCaker I'm presenting a modified guide of xperia z2 style Tabbed status bar for TW JB 4.1 devices........ so let's start and it's 100% sure that I'm only the sharer
requirements:
1. Brain
2. Patience
3. Experience
4. Apktool or anything like it
How to add:
1. Decompile your SystemUI.apk
2. Go to res/values/ids.xml and add these lines
code:
<item type="id" name="spomc_xperia_tabs">false</item>
<item type="id" name="spomc_xperia_tabbuttons">false</item>
3. Now go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
4. now find this
code:
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
if you're device is dual sim
or:
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
if you're device is single sim
put this below it
code:
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" android:layout_marginTop="40.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="40.0dip" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ffffffff"
android:gravity="center"
android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="TAB-1 Notifications"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
</LinearLayout>
5. Now find this
code:
<com.android.systemui.statusbar.phone.CloseDragHan dle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">
there will be a </FrameLayout>above it, put this above that
code:
</com.spacey.xperiatabs.TabBase>
How to make tabs:
1. Each tab here is wrapped between <LinearLayout-</LinearLayout>
2. Noticed this above there
code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ffffffff"
android:gravity="center"
android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="TAB-1 Notifications"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
</LinearLayout>
this is the first tab that is Notifications
you need to add 2 this
code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
</LinearLayout>
.....the first one will be Notifications and the second one will be Quick Settings...... so you need to put everything that you want on the tabs inside the <LinearLayout-</LinearLayout> so after all that your xml should looks like this
code:
<FrameLayout
.........................
<FrameLayout
.........................
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="top" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" android:layout_marginTop="40.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="40.0dip" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout
<CONTENTS YOU'LL PUT ON THE FIRST TAB Notifications>
</LinearLayout>
<LinearLayout
<CONTENTS YOU'LL PUT ON THE SECOND TAB Quick Settings>
</LinearLayout>
</com.spacey.xperiatabs.TabBase>
</FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle...................
</com.android.systemui.statusbar.phone.CloseDragHand le>
</FrameLayout>
3. Now extract and attach the contents of TabContent.zip to your SystemUI.apk
4. Recompile, sign, push, reboot and enjoy !!!
Link:
https://db.tt/n3N2isDw
Credits:
@SpaceCaker for making this awesome mod
today with the permission of sir @SpaceCaker I'm presenting a modified guide of xperia z2 style Tabbed status bar for TW JB 4.1 devices........ so let's start and it's 100% sure that I'm only the sharer
requirements:
1. Brain
2. Patience
3. Experience
4. Apktool or anything like it
How to add:
1. Decompile your SystemUI.apk
2. Go to res/values/ids.xml and add these lines
code:
<item type="id" name="spomc_xperia_tabs">false</item>
<item type="id" name="spomc_xperia_tabbuttons">false</item>
3. Now go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
4. now find this
code:
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
if you're device is dual sim
or:
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
if you're device is single sim
put this below it
code:
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" android:layout_marginTop="40.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="40.0dip" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ffffffff"
android:gravity="center"
android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="TAB-1 Notifications"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
</LinearLayout>
5. Now find this
code:
<com.android.systemui.statusbar.phone.CloseDragHan dle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">
there will be a </FrameLayout>above it, put this above that
code:
</com.spacey.xperiatabs.TabBase>
How to make tabs:
1. Each tab here is wrapped between <LinearLayout-</LinearLayout>
2. Noticed this above there
code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="#ffffffff"
android:gravity="center"
android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="TAB-1 Notifications"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
</LinearLayout>
this is the first tab that is Notifications
you need to add 2 this
code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
</LinearLayout>
.....the first one will be Notifications and the second one will be Quick Settings...... so you need to put everything that you want on the tabs inside the <LinearLayout-</LinearLayout> so after all that your xml should looks like this
code:
<FrameLayout
.........................
<FrameLayout
.........................
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="top" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" android:layout_marginTop="40.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="40.0dip" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout
<CONTENTS YOU'LL PUT ON THE FIRST TAB Notifications>
</LinearLayout>
<LinearLayout
<CONTENTS YOU'LL PUT ON THE SECOND TAB Quick Settings>
</LinearLayout>
</com.spacey.xperiatabs.TabBase>
</FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle...................
</com.android.systemui.statusbar.phone.CloseDragHand le>
</FrameLayout>
3. Now extract and attach the contents of TabContent.zip to your SystemUI.apk
4. Recompile, sign, push, reboot and enjoy !!!
Link:
https://db.tt/n3N2isDw
Credits:
@SpaceCaker for making this awesome mod
Lipitor is faulty and hazardous since it is not gone along with by correct precautions regarding the potential side effects of creating diabetic issues.
RépondreSupprimerA Lipitor negotiation is a resolution in between the two resisting
RépondreSupprimercelebrations: the target and also Pfizer.
Thanks for sharing such a fastidious idea, paragraph is nice, thats why i have read it entirely
RépondreSupprimerThe bony exostoses have to be removed by surgery if they are pressurizing nerves
RépondreSupprimerand blood vessels. Cosmetic Surgery India has come up a long
way and is gaining popularity among every individual.
Her weight has fluctuated through the years, but she generally tries to maintain an active lifestyle and healthy diet.
Your mode of describing all in this piece of writing is
RépondreSupprimerreally nice, every one be able to simply be aware of it, Thanks a
lot.