🔒 Closed How to change battery icon in android 5.1/6.0/6.1

Status
Not open for further replies.

Jmrie_

in memoriam 1995-2021
Legendary
Di ko pa tested sa mga custom rom at stock roms na nougat so try niyo lang po mga boss

Code:
Tutorial kung paano palitan ang battery Icon ng J1mini . base ito sa kitkat ver.

NOTE: Im not responsible of any damage of your Phone AND BAAACK UP !!!

--
APKTOOL
Decompiled SystemUI.apk
--

*Download the pack. Package includes KitkatBattery_Erhany_apktool2 folders.
ginamit ko ung apktool 2.0

--GUIDE--
merge all file
* go to res/values/public.xml and add following lines:
sa taas ng </resources>

PHP Code:

 <public type="drawable" name="stat_sys_battery" id="0x7f021105" />
 
    <public type="drawable" name="stat_sys_battery_charge" id="0x7f021205" />


* go to smali/com/erhany/KitKatBattery.smali & KitKatBattery$1.smali)
and open KitKatBattery$1.smali file.
palitan ng public code ang dapat palitan

* go back to res/layout/status_bar.xml . paste code sa baba ng @id/clock .

PHP Code:

<com.erhany.KitKatBattery android:gravity="center" android:id="@id/battery" android:paddingLeft="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />

*Go to res/layout/system_icons.xml
hanapin nio ang @id/battery . change nio ang height at width change to 0.0dip
save

recompile sigh push or extract method

Credit sa may ari ??

Etong guide ay nag mula sa xda nirevised na lang para mas madali sainyo so try niyo ako kasi na try ko na and working sa android 5.1 at 6.0
Link ng guide

You do not have permission to view the full content of this post. Log in or register now.
©sa right owner ng guide na ito
 
Status
Not open for further replies.

About this Thread

  • 7
    Replies
  • 1K
    Views
  • 4
    Participants
Last reply from:
Jmrie_

Trending Topics

Online now

Members online
1,043
Guests online
942
Total visitors
1,985

Forum statistics

Threads
2,280,625
Posts
28,998,461
Members
1,225,885
Latest member
Rhics1786
Back
Top