Separate names with a comma.
Discussion in 'MIUI Mods' started by mechanical me, May 1, 2011.
would it be possible to change the color of the top bar style battery?
sent from my dong
In the mods part look for miui modsbattery percentage or something along those lines. It is possible, just edit it in theme manager..
Sent from my HTC Desire using the miui-dev.com Forums App
I would like to change the bar color as well, but I couldn't find the option you mentioned... do I need to install any extra mod to achieve this?
Enviado desde mi HTC Desire usando Tapatalk
Don't know if anyone is still looking for this MOD? But I've worked out how to do it at last!!!!!
I've attached a link to a zip file that contains four different files. One for Blue, White, Yellow and Green. Just grab the file that corresponds to the colour you want then rename to SystemUI.apk.
The files are from the latest version (1.6.24). I wouldn't risk installing this on any other version.
adb push SystemUI.apk /system/app/
Set Battery Style to Top-Bar. Enjoy your new colour!!
Top Bar Colours
Note. When the battery is low the bar will be Red regardless of which main colour you have..
If you would like a different colour just let me know (Please supply the HEX code for the colour you want)
Awesome. Thank you!
Sent from my HTC Desire HD using the miuiandroid.com forum app
Thanks, I was looking for that since I start using MIUI.
Which file and which code did you change?
I'm missing something here... battery is moddable by theme manager, simply editing raw folder inside systemui... Is this something different?
It's the StatusBarView.smali file within SystemUI.apk
There's a HEX code that defines the colour. It's on line 540.
That only applies to the Graphical and Percentage battery styles. Not the Top Bar style. That's controlled by code.
Can you tell me in which folder of the apk I can find the smali file?
Just for anyone who looks at this thread in the future, miui has since moved onto using a .9.png in the systemui.apk to show the top battery bar. This means that theme packs can now include changes to its color.