Cara merubah Icon Batery Di Androidmu. Dijamin tambah keren gan

langsung aja..
Pertama, decompile SystemUI.apk dari ROM ente.
Kedua, masuk ke \SystemUI\res\drawable
Ketiga, edit file ini stat_sys_battery.xml dan stat_sys_battery_charge.xml 
Keempat, Untuk file stat_sys_battery.xml ubah jadi kaya gini :

Code:
<?xml version="1.0" encoding="utf-8"?>
<level-list
  xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
    <item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
    <item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
    <item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
    <item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
    <item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
.
sampai
.
    <item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
    <item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
    <item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
    <item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
    <item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
    <item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>

Kelima, Untuk file stat_sys_battery_charge.xml , ubah jadi kaya gini :

Code:
<?xml version="1.0" encoding="utf-8"?>
<level-list
  xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:maxLevel="0">
        <animation-list android:oneshot="false"
          xmlns:android="http://schemas.android.com/apk/res/android">
            <item android:duration="1500" android:drawable="@drawable/stat_sys_battery_0" />
            <item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
        </animation-list>
    </item>
    <item android:maxLevel="1">
        <animation-list android:oneshot="false"
          xmlns:android="http://schemas.android.com/apk/res/android">
            <item android:duration="1500" android:drawable="@drawable/stat_sys_battery_1" />
            <item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
        </animation-list>
    </item>
    <item android:maxLevel="2">
        <animation-list android:oneshot="false"
          xmlns:android="http://schemas.android.com/apk/res/android">
            <item android:duration="1500" android:drawable="@drawable/stat_sys_battery_2" />
            <item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
        </animation-list>
.
sampai
.
<item android:maxLevel="100">
        <animation-list android:oneshot="false"
          xmlns:android="http://schemas.android.com/apk/res/android">
            <item android:duration="1500" android:drawable="@drawable/stat_sys_battery_100" />
            <item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim100" />
        </animation-list>
    </item>
    <item android:maxLevel="101">
        <animation-list android:oneshot="false"
          xmlns:android="http://schemas.android.com/apk/res/android">
            <item android:duration="1000" android:drawable="@drawable/stat_sys_battery_100" />
            <item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_animfull" />
        </animation-list>
    </item>
</level-list>

Kalo masi bingung, ato ga mau ribet,ini ada contekan nya.bisa download xml yg udah ane edit disini 

Keenam, replace file gambar batere icon yg lama dengan yang baru. download dulu icon_pack nya disini
klo udah didownload, ekstrak. trus pindahin semua file *.png nya kesini SystemUI\res\drawable-mdpi 

Ketujuh, Recompile file SystemUI yg udah kita modifikasi td. trus jangan lupa di sign.

Terakhir, Push ke system/app, rubah permission rw-r-r. dan reboot.

Hasilnya. batere icon nya jadi seperti speedometer.
[Image: Screenshot_2013-11-13-14-10-23.png]
kalo ini pas posisi charging
[Image: Screenshot_2013-11-13-14-11-05.png]
Kalo mau nyobain.
ini versi yang udah jadi, dan flashable. Download http://goo.gl/IhssEQ
tinggal install via CWM/TWRP

0 Response to "Cara merubah Icon Batery Di Androidmu. Dijamin tambah keren gan"

Post a Comment