Skip to content

Commit 81240f5

Browse files
committed
Add icon, fully qualify App
1 parent d10426e commit 81240f5

File tree

11 files changed

+699
-3
lines changed

11 files changed

+699
-3
lines changed
Lines changed: 42 additions & 0 deletions
Loading
Lines changed: 137 additions & 0 deletions
Loading
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Shared Assets
2+
3+
See documentation about assets here: https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md
4+
5+
## Here is a cheat sheet
6+
7+
1. Add the image file to the `Assets` directory of a shared project.
8+
2. Set the build action to `Content`.
9+
3. (Recommended) Provide an asset for various scales/dpi
10+
11+
### Examples
12+
13+
```text
14+
\Assets\Images\logo.scale-100.png
15+
\Assets\Images\logo.scale-200.png
16+
\Assets\Images\logo.scale-400.png
17+
18+
\Assets\Images\scale-100\logo.png
19+
\Assets\Images\scale-200\logo.png
20+
\Assets\Images\scale-400\logo.png
21+
```
22+
23+
### Table of scales
24+
25+
| Scale | WinUI | iOS | Android |
26+
|-------|:-----------:|:---------------:|:-------:|
27+
| `100` | scale-100 | @1x | mdpi |
28+
| `125` | scale-125 | N/A | N/A |
29+
| `150` | scale-150 | N/A | hdpi |
30+
| `200` | scale-200 | @2x | xhdpi |
31+
| `300` | scale-300 | @3x | xxhdpi |
32+
| `400` | scale-400 | N/A | xxxhdpi |
Lines changed: 137 additions & 0 deletions
Loading
Lines changed: 42 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)