trupici / G-Watch-Wear

G-Watch App for Wear OS Samsung watch models
Apache License 2.0
39 stars 10 forks source link

Add possibility to display BG as overlay on BgGraph for users who prefer larger font #24

Open piotrmaj opened 10 months ago

piotrmaj commented 10 months ago

Additionally add option to hide BG in BgPanel to let users avoid displaying Bg twice - resolves #9

New options: image image

New overlay: image

Elicio-Fuente commented 3 weeks ago

Interesting possibility. How is this option implemented? Regards and thanks.

piotrmaj commented 3 weeks ago

@Elicio-Fuente I think best way to understand the implementation is to maybe look at the file changes, I think there are not that many changes. However bottom line is when "Show overlay with BG" is enabled then additional canvas on top is rendered with opacity by using Color.argb(200, 0, 0,0) which displays the glucose level using larger font. Not sure if that answer helps?

Elicio-Fuente commented 3 weeks ago

@Elicio-FuenteCreo que la mejor manera de entender la implementación es mirar los cambios en el archivo, creo que no hay tantos cambios. Sin embargo, la conclusión es que cuando se habilita "Mostrar superposición con fondo", se renderiza un lienzo adicional en la parte superior con opacidad mediante el uso de una Color.argb(200, 0, 0,0)fuente más grande para mostrar el nivel de glucosa. ¿No estoy seguro de si esa respuesta ayuda? My ignorance on these issues is total. My question is: Where can I download the application you modified? Is it enough to replace the G-Watch Wear App installed on my phone with the modified one? Thank you.

piotrmaj commented 3 weeks ago

@Elicio-Fuente unfortunately it's not that easy, how I installed it is by created APK on my development environment and manually installed on the galaxy watch. I think easiest option would be reach out to author to take a look at this change and hopefully he would integrate this change and publish new version to Google Play store. @trupici maybe you can help @Elicio-Fuente ?

piotrmaj commented 3 weeks ago

@Elicio-Fuente Alternatively you could try to install apk from https://github.com/piotrmaj/G-Watch-Wear/releases/tag/0.9.8-bg-overlay-debug to your watch by side loading apk to ur watch https://www.youtube.com/watch?v=5v8_pGVyPBs but if you haven't done anything like that before it might not be the best idea as you might do some harm to your watch

Elicio-Fuente commented 3 weeks ago

Thanks for your reply @Piotrmaj. I will do that, I will contact @trupici.