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

Commit 91964cb

Browse files
update vector drawable file names in readme
1 parent 01ddc6a commit 91964cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ avdo vector.xml
4141
avdo *.xml
4242

4343
# Optimize a VD/AVD file and write the output to a new file.
44-
avdo vector.xml -o vector.min.xml
44+
avdo vector.xml -o vector_min.xml
4545

4646
# Optimize a VD/AVD using standard input and standard output.
47-
cat vector.xml | avdo -i - -o - > vector.min.xml
47+
cat vector.xml | avdo -i - -o - > vector_min.xml
4848

4949
# Optimize (and overwrite) all of the VD/AVD files in a directory.
5050
avdo -d path/to/directory
@@ -56,7 +56,7 @@ avdo -d path/to/input/directory -o path/to/output/directory
5656
avdo *.xml -o path/to/output/directory
5757

5858
# Pass a string as input and write the output to a new file.
59-
avdo -s '<vector>...</vector>' -o vector.min.xml
59+
avdo -s '<vector>...</vector>' -o vector_min.xml
6060
```
6161

6262
`avdo` rewrites the `VectorDrawable` using the smallest number of `<group>`s and `<path>`s possible, reducing their file sizes and making them faster to parse and draw at runtime. The example below shows the contents of a `VectorDrawable` before and after being run through `avdo`.

0 commit comments

Comments
 (0)