Skip to content

Commit

Permalink
Make the example visually explicit (flutter#8083)
Browse files Browse the repository at this point in the history
Make the example visually explicit with the native android reference: https://developer.android.com/training/multiscreen/screendensities#TaskProvideAltBmp
  • Loading branch information
davidgaspardev authored Jan 9, 2023
1 parent 82f8de0 commit 880a5b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/development/ui/assets-and-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,11 @@ For example, consider the following asset layout for an
image named `my_icon.png`:

```text
.../my_icon.png
.../2.0x/my_icon.png
.../3.0x/my_icon.png
.../my_icon.png (mdpi baseline)
.../1.5x/my_icon.png (hdpi)
.../2.0x/my_icon.png (xhdpi)
.../3.0x/my_icon.png (xxhdpi)
.../4.0x/my_icon.png (xxxhdpi)
```

On devices with a device pixel ratio of 1.8, the asset
Expand Down

0 comments on commit 880a5b9

Please sign in to comment.