MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

Battery Percent help

9 posts in this topic

Posted · Report post

Hi

I'm getting an issue with my system UI. I add the icons and they will show up on the ROM but do not work properly, I then change the XMLs to a file which had Bpercent and then when I check the ROM the icons don't show up at all.

Please help

0

Share this post


Link to post
Share on other sites

Posted · Report post

did you de-complie the systemUI then add the xml / resources?

then re-compile.

0

Share this post


Link to post
Share on other sites

Posted · Report post

did you de-complie the systemUI then add the xml / resources?

then re-compile.

no,

all I did was changed the SystemUI.apk to a .zip open up the file folders res, etc.. then copied a another systemui's battery xmls to my SystemUI

0

Share this post


Link to post
Share on other sites

Posted · Report post

That's the noob way dude, use an apk decompiler so you can actually open all the xmls and view them without seeing lost of jibber jabber :P

Redflake also had a tutorial on adding your own custom battery mods, just go to his profile and look through his threads to find it.

0

Share this post


Link to post
Share on other sites

Posted · Report post

de-complie the systemUI, use these from my guide ;)

notepad ++ > http://notepad-plus-...nload/v6.3.html

apk manager > http://ubuntuone.com...iGEQawtXvjzLq�� (How To Use)

change the code in

projects / systemUI / res / drawable / stat_sys_battery.xml (use notepad ++)

to

<?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" />
<item android:drawable="@drawable/stat_sys_battery_6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_49" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_94" android:maxLevel="94" />
<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>[/xml]

save it, then add the 101 battery resources (.png images) to drawable-hdpi

then compile.

1

Share this post


Link to post
Share on other sites

Posted · Report post

That's the noob way dude, use an apk decompiler so you can actually open all the xmls and view them without seeing lost of jibber jabber :P

Redflake also had a tutorial on adding your own custom battery mods, just go to his profile and look through his threads to find it.

I am a noob haha.

0

Share this post


Link to post
Share on other sites

Posted · Report post

de-complie the systemUI. use these from one of my guides ;)

notepad ++ > http://notepad-plus-...nload/v6.3.html

apk manager > http://ubuntuone.com...iGEQawtXvjzLq�� (How To Use)

change the code in (use notepad ++)

projects / systemUI / res / drawable / stat_sys_battery.xml

to

<?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_circle_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_circle_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_circle_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_circle_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_circle_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_circle_5" android:maxLevel="5" />
<item android:drawable="@drawable/stat_sys_battery_circle_6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_circle_7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_circle_8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_circle_9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_circle_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_circle_11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_circle_12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_circle_13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_circle_14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_circle_15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_circle_16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_circle_17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_circle_18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_circle_19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_circle_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_circle_21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_circle_22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_circle_23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_circle_24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_circle_25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_circle_26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_circle_27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_circle_28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_circle_29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_circle_30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_circle_31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_circle_32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_circle_33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_circle_34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_circle_35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_circle_36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_circle_37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_circle_38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_circle_39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_circle_40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_circle_41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_circle_42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_circle_43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_circle_44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_circle_45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_circle_46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_circle_47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_circle_48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_circle_49" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_circle_50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_circle_51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_circle_52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_circle_53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_circle_54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_circle_55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_circle_56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_circle_57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_circle_58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_circle_59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_circle_60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_circle_61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_circle_62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_circle_63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_circle_64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_circle_65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_circle_66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_circle_67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_circle_68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_circle_69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_circle_70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_circle_71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_circle_72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_circle_73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_circle_74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_circle_75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_circle_76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_circle_77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_circle_78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_circle_79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_circle_80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_circle_81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_circle_82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_circle_83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_circle_84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_circle_85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_circle_86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_circle_87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_circle_88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_circle_89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_circle_90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_circle_91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_circle_92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_circle_93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_circle_94" android:maxLevel="94" />
<item android:drawable="@drawable/stat_sys_battery_circle_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_circle_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_circle_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_circle_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_circle_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_circle_100" android:maxLevel="100" />
</level-list>[/xml]

save it, then add the 101 battery resources (.png images) to drawable-hdpi

then compile.

Thanks, i'll have a go in a bit.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks, i'll have a go in a bit.

make sure you use the edited code as the one you quoted above was wrong and i have since corrected my mistake.

also make sure the resources you add are named "stat_sys_battery_" followed by its number

as this is what the code in the xml expects.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

make sure you use the edited code as the one you quoted above was wrong and i have since corrected my mistake.

also make sure the resources you add are named "stat_sys_battery_" followed by its number

as this is what the code in the xml expects.

Edit. Nevermind

Edited by PCTechRoss
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

de-complie the systemUI, use these from my guide ;)

notepad ++ > http://notepad-plus-...nload/v6.3.html

apk manager > http://ubuntuone.com...iGEQawtXvjzLq�� (How To Use)

change the code in

projects / systemUI / res / drawable / stat_sys_battery.xml (use notepad ++)

to

save it, then add the 101 battery resources (.png images) to drawable-hdpi

then compile.

Do you have the charging code too?

Edit nevermine

Edited by PCTechRoss
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.