Confirmed users
251
edits
No edit summary |
|||
| Line 147: | Line 147: | ||
* xxhdpi/ | * xxhdpi/ | ||
* <distro>.png | * <distro>.png | ||
The suggestedsites.json file should be a JSON array: | |||
[ | |||
{ url: "<site-url>", | |||
title: "<site-title>", | |||
imageurl: "gecko.distribution://<image-dir>/<image-name>", | |||
bgcolor: "<color-hex-code>" | |||
] | |||
Where <image-dir> is the directorying containting the density-specific image directories (mdpi, hdpi, etc) and <image-name> is the filename under the density-specific directories without the file extension. For example, gecko.distribution://suggestedsites/res/distroimage image URL will be translated to suggestedsites/res/xhdpi/distroimage.png on a XHDPI device. | |||
==Issues== | ==Issues== | ||