Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 9a9a287

Browse files
authored
Merge pull request #21 from amardeshbd/feature/readme_guide
[ADDED] Some extra readme about the thumbnails.
2 parents e89a642 + cbe9667 commit 9a9a287

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

resources/vector/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,19 @@ Vector Images & Icons
22
=========
33
This is the container for RAW vector assets that is used in the project.
44
Most of the assets are created by simple vector editor at [https://vectr.com](https://vectr.com).
5+
6+
7+
Layout Thumbnail Specification
8+
-------------------------------
9+
To have consistent look, use following spec for layout thumbnail.
10+
* Canvas size: `640px X 640px` with 2px `#000000` border.
11+
* Box color: `#00acc1` with no opacity.
12+
* Constraints color: `#006064` with 85% opacity, border: 1px `#000000` with no opacity.
13+
* When multiple views are required to show relational positioning, use colors that are close to original color.
14+
* Name assets using conventions defined in [README](https://github.com/amardeshbd/android-constraint-layout-cheatsheet/blob/master/app/src/main/res/layout/.README.md)
15+
* Use Android Studio to import the **`SVG`** image to Android Vector drawable.
16+
17+
Examples
18+
-----------
19+
* https://vectr.com/hossain/a11KCVsbcM.svg?width=640&height=640
20+
* https://vectr.com/hossain/dUHU9o4er.svg?width=640&height=640

0 commit comments

Comments
 (0)