Guide Menambahkan 6 Tab

Menambahkan 6tab kosongan.






Ini adalah Guide pemasangan tab paling mudah menurut ane...,
Karna tanpa replace id publik,dan jumlah tabnya pun bisa dirubah,
sesuai kebutuhan dan maksimal 6tab.

Syarat:
- Mengerti decompile dan recompile.
- HH sudah di disable signaturnya.
- Mengerti push to system.
- HH sudah di root.
- Apktool x yg sy gunakan.
- Rootexplorer.


Bahan: 6tab

- Decompile SystemUI.
- Extrack bahannya,
  dan masukan kedalam folder masing".
- Lalu buka res/values/colors.xml trus copy code dibawah ini,
  diatas coding </resources>.

<color name="vf_btn">#00000000</color>
<color name="vf_btn_selected">#c00099bc</color>
<color name="vf_text">#ffffffff</color>
<color name="vf_divider">#ffffffff</color>

- Buka res/values/strings.xml copy code dibawah ini,diatas coding </resources>.

<string name="vf1">Notif</string>
<string name="vf2">Page 2</string>
<string name="vf3">Page 3</string>
<string name="vf4">Page 4</string>
<string name="vf5">Page 5</string>
<string name="vf6">Page 6</string>

- Kemudian buka   status_bar_expanded_middle.xml,
  (hanya contoh, sebenarnya bebas mau      ditaro di expanded mana saja),

  dan cari coding ini:
 <?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
 xmlns:android="http://schemas.android.com/apk/res/android"
 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
                                   "Tempelkan disini"

- Tempelkan coding dibawah ini tepat dibawah coding diatas:
<rahman.ramsi.systemui.TombolVF android:orientation="horizontal" android:id="@+id/tombolvf" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="6.0" android:layout_alignParentBottom="true" />
<rahman.ramsi.systemui.LayoutVF android:id="@+id/vf_layout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@+id/tombolvf">
<LinearLayout android:orientation="vertical" android:background="#00ffffff" android:layout_width="fill_parent" android:layout_height="fill_parent">


- Scroll kebawah dan cari coding berikut:

  "Tempelkan disini"
  </LinearLayout>

- Tempelkan coding dibawah ini tepat diatas coding </LinearLayout> yg paling bawah:

<LinearLayout android:orientation="vertical" android:background="#00ffff00" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="70.0sp" android:textColor="#ff003ae1" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Dua" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:background="#0000ffff" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="70.0sp" android:textColor="#ff04ebf3" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Tiga" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:background="#00ffffff" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="70.0sp" android:textColor="#fff76b00" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Empat" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:background="#00ffff00" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="70.0sp" android:textColor="#ff5cf700" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Lima" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:background="#0000ffff" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="70.0sp" android:textColor="#ff000000" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Enam" />
</LinearLayout>
</rahman.ramsi.systemui.LayoutVF> 

- Save dan dan recompile,sign dan ganti namanya menjadi SystemUI.apk lalu push ke system menggunakan rootex.

Note:
Jika tab kebanyakan, ganti angka 6 dicoding android:weightSum="6.0" .
File smali sudah ane convert ke 2.0 jadi convert lagi jika ente make beda os.




Credit By: b16h22 (base source)
Tutor By: Jacky Putra Garuda



Happy Modding..... 
  











0 komentar:

Posting Komentar