Thứ Ba, 14 tháng 8, 2018

Tut 5 tab pineaple text name

Tut 5 tab pineaple text name

demo:
Tut 5 tab pineaple text name
-> step by step
--- Decompile SystemUI.apk
--- chép file vào folder SystemUI_src theo đường dẫn
--- mở SystemUI_src/res/layout/status_bar_expanded.xml
--- tìm code

    <include layout="@layout/status_bar_expanded_header" />
 
đặt code này ngay dưới nó

     <include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/eca_tombol" />

--- đặt các code này vào status-bar-expanded.xml :


    <com.pineapple.TabUI.TabsContent android:id="@+id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:flipInterval="3000" android:inAnimation="@anim/ffa_anim_in" android:outAnimation="@anim/ffa_anim_out">
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip">
        < ( code thông báo ) />
    </LinearLayout>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip">
        <include layout="@layout/mario_content2" />
    </LinearLayout>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip">
        <include layout="@layout/mario_content3" />
    </LinearLayout>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip">
        <include layout="@layout/mario_content4" />
    </LinearLayout>
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip">
        <include layout="@layout/mario_content5" />
    </LinearLayout>
</com.pineapple.TabUI.TabsContent>



--- Recompile SystemUI_src.
--- Decompile SystemUI_src.apk
~~> Next to step2
--- mở res/values/public.xml và smali/com/pineapple/TabUI/TabButton.smali


--- tìm ở smali/com/pineapple/TabUI/TabButton.smali
- public 0x7f0202f1
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="drawable" name="tab_indicator">
(Note: ở smali có 5 số id này. Cần thay hết)

- public 0x7f0202fd
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tab1">

- public 0x7f0202ff
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tab2">

- public 0x7f020301
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tab3">

- public 0x7f020320
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tab4">

- public 0x7f0202fe
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tab5">



- Tìm ở smali/com/pineapple/TabUI/TabsContent.smali

-public 0x7f0c00ef
thay nó bằng id tương ứng tìm được ở public.xml
   <public type="id" name="tabbutton">


-> Recompile SystemUI_src_src
-> Sign, Push, Reboot,
5 tab text.zip
Đàm Minh Giang File Size 150 KB
Cộng Đồng Mod Android Trên Facebook