Rabu, 15 Mei 2013

Membuat statusbar expanded kaya jellybean

Alat dan bahan
1.apktool
2.winrar/zip
3.notepad++
4.SystemUI.apk

Langkah-langkah:
1.Decompile systemui.apk dengan apktool
2.masuk folder/res/layout/status_bar.xml
3.buka status_bar.xml dengan notepad++
4.cari kode ini di paling bawah sendiri kayaknya..
    <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
5.kemudian ganti dengan ini aja biar simple dan tidak bertele2 yang menjalaskan hehehhe :D
  <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
6.kemudia copy statusbar_background.9.png hasil copynya rename jadi statusbar_background2.png
7.Compile
8.selesai

Tidak ada komentar:

Posting Komentar