How about a tutorial to edit the xml to change to 1 percent if the rom doesn't have it? Can anyone put something like this together?
Sent from my Galaxy Nexus using xda premium
Sent from my Galaxy Nexus using xda premium
How about a tutorial to edit the xml to change to 1 percent if the rom doesn't have it? Can anyone put something like this together?
Sent from my Galaxy Nexus using xda premium
Really cool initiative! I don't mean to cause you alot of work, but would it be possible to make MetaMorph files for the battery mods? I have done so with the Softkeys you can find in my signature, and it's making the process of installing these kinds of mods alot easier! You can of course copy the installation instructions from my thread if you want to
Is it possible to alter the:
"Off Center Battery by mrvirginia
modeled after AOKP. stock images with number"
Can you change the gray to white?
Could you possible make me a CM style battery mod with the percentages from androidusers neopolitian 2.2 rom. Ill upload the system ui apk if you don't mind. I know his rom has customize able toggles in it,thanks
I created a higher-res version of the Gingerbread battery some time back.
Here's the thread with the source images and animated xml
I created a higher-res version of the Gingerbread battery some time back.
Here's the thread with the source images and animated xml
SystemUI.apk should be located in /system/app/So I have never done anything with apk's or anything...where is the systemui.apk? On the phone's rom that is already installed or in the zip file of the rom before its installed? I searched in both (with root explorer) and cant find "that" file. I thought I did find the right file, aokp_toro_build-14.zip\system\framework\framework-res.apk. then open that with winrar and go to framework-res.apk\res\drawable-xhdpi. Extract that folder and then put the files in there? Now what? I copied that "new" folder back to the apk. Now can i flash that apk? am I WAY off? Id love to be able to learn and do this myself so I can change the bat icons myself now with this great thread!
Thanks! Well what do you know...there she is. huh. So i can take that file off the phone, do the file copy with winrar and then put it back on the phone and just...restart it? Its just that easy?
:EDIT: Whow, I just watched some video (was a great video) on how to decompile an apk. If I have to do all that, I think Im way in over my head!
if your SystemUI.apk already has batteries 0-100, no decompiling is required. just replace the battery images.
it does if you're wanting images 0-100 to show up. the SystemUI.apk calls these images in via xml. if the xml only supports 0,15,28,43,57,71,85,100 (a stock SystemUI.apk), and you throw images in that go from 0-100, that SystemUI.apk is still only going to call in those 8 numbers, skipping over the other images. for example, when your battery is at 50%, it's going to show an image in reference to 57. so a battery sitting at 50% but displaying an image that says it's at 57% is inaccurate haha. hope that makes sense.