Código fuente proporcionado / Source Code provided
Español
Batería circular - Opciones:
- Tamaño de la batería
- Grosor batería
- Texto nivel batería en negrita o normal
- Durante la carga se ejecutan dos animaciones:
. animación continua en el que la sección que muestra el nivel de carga va girando: podemos cambiar la velocidad de giro
. cada vez que internamente se recibe un cambio de nivel de carga (no de porcentaje) se ejecuta una animación de transparencia: podemos seleccionar el tiempo que dura.
- Color de fondo, nivel y texto para fondos claros y oscuros
GUÍA: Descarga el rar anexo y lee la guía que contiene
- Si quieres ocultar de una forma simple el icono stock de batería, echa un vistazo a este enlace!!
English
Circular Battery - Options
- Battery Size
- Stroke width
- Bold or normal text for level text
- While charging two animations are run
. the first animation continuously rotates the battery level representation: we can change the speed of the rotation
. the second animation is a transparency (alpha) animation that is run every time the battery level received changed (not the % but the internal bat level). We can change the duration of the animation.
- Selectable colors for battery frame, level and text, both for light and dark backgrounds.
Guide: Download Attached rar file and read the guide inside.
- If you do not know how to easily hide the stock battery icon, have a look to this post!!
-------------------------- SOURCE CODE INFO - INFO CÓDIGO FUENTE ---------------
Github : https://github.com/Grouxho/TWCircularBattery . You can customize, add, etc the battery mod with this apk
NOTAS - Apk Github
La única diferencia entre PIE y Oreo en TW es el método onBatteryLevelChanged de la clase GrxBatteryMeterView.
Busca en el código fuente en GrxBatteryMeterView.java, BatteryController.java y BatteryControllerImpl.java los comentarios a este respecto si quieres generar el código smali para Oreo o PIE
NOTES - Apk Github
The only difference between Oreo and PIE samsung firms related to this mod is the onBatteryLevelChanged in the class GrxBatteryMeterView.
If you want to customize this mod throught using the source code i have made, have a look to the comments i added inside GrxBatteryMeterView.java, BatteryController.java y BatteryControllerImpl.java .
Español
Batería circular - Opciones:
- Tamaño de la batería
- Grosor batería
- Texto nivel batería en negrita o normal
- Durante la carga se ejecutan dos animaciones:
. animación continua en el que la sección que muestra el nivel de carga va girando: podemos cambiar la velocidad de giro
. cada vez que internamente se recibe un cambio de nivel de carga (no de porcentaje) se ejecuta una animación de transparencia: podemos seleccionar el tiempo que dura.
- Color de fondo, nivel y texto para fondos claros y oscuros
GUÍA: Descarga el rar anexo y lee la guía que contiene
- Si quieres ocultar de una forma simple el icono stock de batería, echa un vistazo a este enlace!!
English
Circular Battery - Options
- Battery Size
- Stroke width
- Bold or normal text for level text
- While charging two animations are run
. the first animation continuously rotates the battery level representation: we can change the speed of the rotation
. the second animation is a transparency (alpha) animation that is run every time the battery level received changed (not the % but the internal bat level). We can change the duration of the animation.
- Selectable colors for battery frame, level and text, both for light and dark backgrounds.
Guide: Download Attached rar file and read the guide inside.
- If you do not know how to easily hide the stock battery icon, have a look to this post!!
-------------------------- SOURCE CODE INFO - INFO CÓDIGO FUENTE ---------------
Github : https://github.com/Grouxho/TWCircularBattery . You can customize, add, etc the battery mod with this apk
NOTAS - Apk Github
La única diferencia entre PIE y Oreo en TW es el método onBatteryLevelChanged de la clase GrxBatteryMeterView.
Busca en el código fuente en GrxBatteryMeterView.java, BatteryController.java y BatteryControllerImpl.java los comentarios a este respecto si quieres generar el código smali para Oreo o PIE
NOTES - Apk Github
The only difference between Oreo and PIE samsung firms related to this mod is the onBatteryLevelChanged in the class GrxBatteryMeterView.
If you want to customize this mod throught using the source code i have made, have a look to the comments i added inside GrxBatteryMeterView.java, BatteryController.java y BatteryControllerImpl.java .