Thứ Năm, 2 tháng 8, 2018

Tut Mod 5 Tab + Anim Thay Hình

Tut Mod 5 Tab + Anim Thay Hình

--- Decompile SystemUI.apk

--- Mở folder tải về và đưa file vào folder
    SystemUI_src theo đường dẫn.
 
--- Mở SystemUI_src/res/layout/status_bar_expaded.xml
 
 
--- đặt code này :::
   



                <com.pineapple.TabUI.TabButton android:gravity="center" android:layout_gravity="center" android:orientation="horizontal" android:background="@drawable/tab_bg" android:layout_width="fill_parent" android:layout_height="45.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
             
             
       ::ở dưới code ::
     
             
       <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap">
                <include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" android:layout_marginTop="35.0dip" layout="@layout/status_bar_expanded_header" />
             
             
 ---đặt các code này:::;

 
        <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">
                ( Mấy bác đặt code thông báo vào đây cho em nhé. ko đặt vào là lỗi đó :3 .............)
            </LinearLayout>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:overScrollMode="never">
                <include layout="@layout/imam_content2" />
            </ScrollView>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:overScrollMode="never">
                <include layout="@layout/imam_content3" />
            </ScrollView>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:overScrollMode="never">
                <include layout="@layout/imam_content4" />
            </ScrollView>
            <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:overScrollMode="never">
                <include layout="@layout/imam_content5" />
            </ScrollView>
        </com.pineapple.TabUI.TabsContent>
        <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" />
     



         ::: ở dưới code :::


           <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
            <ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
         
         





--- Recompile SystemUI_src
    Decompile SystemUI_src.apk


~~> Next sang bước 2


--- mở public.xml trong res/values và smali/com/pineapple/TabUI/TabButton.smali
--- search
 public 0x7f0202f1 ở TabButton.smali
    thay nó bằng id ở public.xml
<public type="drawable" name="tab_indicator">      ( chú ý : cái này ko biết thì em cũng éo biết chỉ ntn :3)

_____________==_________=___=___=__=
  code public 0x7f0202fd
thay bằng <public type="drawable" name="tab1">

________==_=_==_=======___==_===_=
  code public 0x7f0202ff
thay bằng <public type="drawable" name="tab2">

___========_==______===_=__==___
  code public 0x7f020301
thay bằng <public type="drawable" name="tab3">

_____________====_=___====_====___==_
  code public 0x7f020320
thay bằng <public type="drawable" name="tab4">

______________===_=_=_=_______=_____
   code public 0x7f0202fe
         thay bằng <public type="drawable" name="tab5">


>>>>>>>>>>>>>
-mở smali/com/pineapple/TabUI/TabsContent.smali

--- Search
dòng 21 code public 0x7f0c00ef
thay bằng <public type="id" name="tabbutton">

___========______===__
-> Recompile SystemUI_src_src
-> Sign, Push, Reboot, and enjoy
______________________=________


tut_mod_5tab+anim_thay_hình.zip
Đàm Minh Giang File Size 123 KB
Cộng Đồng Mod Android Trên Facebook
PHẠM ĐỨC THẮNG
FACEBBOK: FA
LINK FB: https://www.facebook.com/thangtrangs2
Cộng Đồng Mod Android Trên Facebook
http://facebook.com/groups/mod.android