Closed terrakok closed 6 days ago
Update resource filtering and add density-based lookup to be equal with the android logic
Better to be more specific. Something like:
If there is no resource with suitable density, use resource with the most suitable density, otherwise use default (similar to the Android logic)
In general, Android prefers scaling down a larger original image to scaling up a smaller original image: https://developer.android.com/guide/topics/resources/providing-resources#BestMatch
Fixes https://github.com/JetBrains/compose-multiplatform/issues/4368
Release Notes
Highlights - Resources