Open kallisti5 opened 1 year ago
aand i just realized battery_100 isn't mentioned anywhere. The battery_overlay is stacked somehow.. isn't it?
Yes, the overlay is the 9-patch image battery_overlay_t
assigned to view tabInfoImageBatteryOverlay
. The center slice is scaled by the SOC via InfoFragment.updateCarInfoView()
.
Not sure about how to animate a 9-patch, maybe that's then better solved via vector graphics.
Need to work on animating this... but it offers a lot better visual feedback on a charging vehicle. c0 - c4 should be played on a loop while charging and should repeat seamlessly