HƯỚNG DẪN MOD TABBED STYLE SONY Z2
*YÊU CẦU
-Biết sử dụng apktool
-Biết Decom và recom
-Biết mod thêm code cơ bản
*Cách thực hiện
-Bước 1: Decom SystemUI.apk
-Bước 2: Vào res\values\ids.xml thêm code sau
- Code:
<item type="id" name="spomc_xperia_tabs">false</item>
<item type="id" name="spomc_xperia_tabbuttons">false</item>
-Bước 4: Mở /res/layout/statusbar_expanded.xml
-Bước 5: Dán code này
- Code:
<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" />
<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_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="This you can fill up " android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
</LinearLayout>
- Code:
xmlns:android="http://schemas.android.com/apk/res/android">
- Code:
</com.android.systemui.statusbar.ExpandedView
- Code:
</com.spacey.xperiatabs.TabBase>
Link TabContent.zip Dowload
CHÚC CÁC BẠN THÀNH CÔNG
NGUỒN:http://forum.xda-developers.com/galaxy-y/general/mod-xperia-z2-styled-tabbed-statusbar-t2856982POST BY SAD EYES