Chủ Nhật, 26 tháng 8, 2018

Mod Status Bar Vuốt

Mod Status Bar Vuốt

Hướng dẫn mod nhiều stt3 - Tút lấy từ mod nhiều Tab

1. Decom SystemUI

2. Chép các file theo đúng đường dẫn

3. Mở res/layout/Stt3.Xml
 Tìm Code Này

        <LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" >
Hoặc tương tự id/status_bar_contents và id/status_icon

       
Đặt code này dưới nó

               <com.suyonoion.easyviewpagerui.ExpandedViewpagerUI android:id="@id/id_viewpager" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="2.0dip">
            <android.support.v4.view.PagerTabStrip android:textColor="#ffffffff" android:id="@id/id_judul" android:background="#ff1b4e9c" android:layout_width="wrap_content" android:layout_height="0.0dip" />
            <LinearLayout android:orientation="vertical" android:id="@+id/id_halaman_1" android:layout_width="fill_parent" android:layout_height="fill_parent">
           
---------------------------------->
-------------------------------------
           Đặt vào đầy từ code dưới id/status_bar_contents đến trên dòng
      </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
          ----------------------------
  ----------------------------
  ---------------------->>>
           
            </LinearLayout>
            <LinearLayout android:orientation="vertical" android:id="@+id/id_halaman_2" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <include layout="@layout/tabstt2" />
            </LinearLayout>
            <LinearLayout android:orientation="vertical" android:id="@+id/id_halaman_3" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <include layout="@layout/tabstt3" />
            </LinearLayout>
            <LinearLayout android:orientation="vertical" android:id="@+id/id_halaman_4" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <include layout="@layout/tabstt4" />
            </LinearLayout>
            <LinearLayout android:orientation="vertical" android:id="@+id/id_halaman_4" android:layout_width="fill_parent" android:layout_height="fill_parent">
                <include layout="@layout/tabstt5" />
            </LinearLayout>
        </com.suyonoion.easyviewpagerui.ExpandedViewpagerUI>
       

  4.      Mở res/values/string thêm code này trên code </resources>
       
        <string name="judul_halaman_1">Notification</string>
    <string name="judul_halaman_2">Tab 2</string>
    <string name="judul_halaman_3">Tab 3</string>
    <string name="judul_halaman_4">Tab 4</string>


 5. Recompile lại
systemUI_src
Dùng Xproler chép đè Meta-inf và AndroidManifest từ systemUI.apk sang systemUI_src.apk
Đổi tên systemUI_src.apk thành systemUI.apk ,tìm mọi thủ đoạn đưa
systemUI.apk vào hệ thống

6. Các bạn muốn đổi màu thi vào drawable/bingkai_halaman thay đổi các # thành màu bạn thích P/s : muốn nó trong suốt thì đổi dạng màu #00000000
7. Lưu ý : Kéo NOTIFICATION hơn vật vả và hở 1 xíu tầm 2.0 dip trên stt3
Mod STT3 Vuốt.zip
Đàm Minh Giang File Size 2 MB
Cộng Đồng Mod Android Trên Facebook

Tút mod tab : Ngô Văn Tuấn
Share : Lê Văn Sỵ
Người đem lên stt3 tùy biến : BM Trung Hiếu
Cộng Đồng Mod Android Trên Facebook
http://facebook.com/groups/mod.android