Skip to content

Commit

Permalink
Merge pull request #18 from albilaga/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Redth authored Oct 27, 2020
2 parents 699f128 + c5ade58 commit f276e4b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ Next, add the images to your shared code (netstandard2.0) project as `SharedImag
</ItemGroup>
```

Or you can specify it for each project like this :

```xml
<ItemGroup Condition="$(_ResizetizerIsiOS) == 'True'">
<SharedImage Include="image.svg" BaseSize="44,44" />
</ItemGroup>

<ItemGroup Condition="$(_ResizetizerIsAndroid) == 'True'">
<SharedImage Include="image.svg" BaseSize="50,50" />
</ItemGroup>

<ItemGroup Condition="$(_ResizetizerIsUWP) == 'True'">
<SharedImage Include="image.svg" BaseSize="55,55" />
</ItemGroup>

<ItemGroup Condition="$(_ResizetizerIsWPF) == 'True'">
<SharedImage Include="image.svg" BaseSize="60,60" />
</ItemGroup>
```

These images can be `.svg` or `.png` types.

## BaseSize
Expand Down

0 comments on commit f276e4b

Please sign in to comment.