Replacing the battery indicator (Android)

喜夏-厌秋 提交于 2019-11-28 09:23:50

问题


There's an open source battery indicator that I greatly prefer to the default one. I was wanting to modify it to replace the default battery indicator. Is this even possible without building a whole custom ROM?


回答1:


I do not believe it is possible without building a whole custom ROM.




回答2:


Yes, it is possible to do without building a new custom ROM, but you still need root access. the .png files for the battery indicator are in the framework-res.apk, you can extract that, replace just the .png files for the battery and put it back with approriate access rights and it will work. kinda like the process to just can change the "Verizon Wireless" (or other carrier) text on the lock screen.



来源:https://stackoverflow.com/questions/1936742/replacing-the-battery-indicator-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!