increase image size corresponding to updated Android Auto docs

This commit is contained in:
Johan von Forstner
2021-07-29 17:54:14 +02:00
committed by johan12345
parent 139c02ef70
commit 04fc17d73c

View File

@@ -48,7 +48,10 @@ class ChargerDetailScreen(ctx: CarContext, val chargerSparse: ChargeLocation) :
}
private val referenceData = api.getReferenceData(lifecycleScope, carContext)
private val iconGen = ChargerIconGenerator(carContext, null, oversize = 1.4f, height = 64)
private val imageSize = 128 // images should be 128dp according to docs
private val iconGen =
ChargerIconGenerator(carContext, null, oversize = 1.4f, height = imageSize)
init {
referenceData.observe(this) {