Screenshots: demo-library generator, per-form-factor targets, listing notes
This commit is contained in:
@@ -24,6 +24,31 @@ FORM_FACTOR=tablet-7in ./tools/make-store-screenshots.sh
|
||||
FORM_FACTOR=tablet-10in ./tools/make-store-screenshots.sh
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
|
||||
Play's slots, and what each needs:
|
||||
|
||||
| Slot | How many | Target here | Notes |
|
||||
|---|---|---|---|
|
||||
| Phone | **2–8** | `screenshots/phone/` — 1080×2160 | A phone at its native 1080×2400 is 2.22:1 and is **rejected**; the normaliser crops chrome and clamps to 2:1 |
|
||||
| 7-inch tablet | 4+ recommended | `screenshots/tablet-7in/` — 1200×1920 | A tablet frame is already inside the 2:1 cap, so 0 px of crop |
|
||||
| 10-inch tablet | 4+ recommended | `screenshots/tablet-10in/` — 2560×1600 | Landscape profile (matches the `tablet10` AVD); Play accepts either orientation |
|
||||
|
||||
### The library the shots are taken over
|
||||
|
||||
**Never shoot over a real device's storage.** Published screenshots are public, and a file
|
||||
list exposes real folder names and document titles. The library is generated instead:
|
||||
|
||||
```bash
|
||||
python3 tools/make-demo-library.py # -> demo-files/ (git-ignored, ~161 MB)
|
||||
adb push demo-files /sdcard/Download/PlainFiles-Demo
|
||||
```
|
||||
|
||||
`tools/make-demo-library.py` builds eight distinct sample images (so the grid view and
|
||||
thumbnails have something to show), a handful of documents, sized stand-ins for video and
|
||||
audio so the storage-usage screen has something worth ranking, and a real ZIP so the extract
|
||||
action can be exercised. Every name and every pixel is fake by construction.
|
||||
|
||||
| Asset | Play's spec | Result | Source |
|
||||
|---|---|---|---|
|
||||
| App icon | 512×512, 32-bit PNG with alpha, ≤ 1 MB | `store-assets/icon-512.png` — 512×512, **RGBA**, ~5 KB | `tools/store-assets/icon.svg`, mirroring `ic_launcher_background.xml` + `ic_launcher_foreground.xml`. Background, paths and opacities are identical, so **the store icon is the launcher icon** rather than a lookalike that drifts. |
|
||||
|
||||
Reference in New Issue
Block a user