From fef9e21e0453bcf92f6079aa4ea1cff7f28d8856 Mon Sep 17 00:00:00 2001 From: Alex Lockwood Date: Wed, 29 Nov 2017 18:50:39 -0800 Subject: [PATCH] Add another example to the README --- README.md | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/README.md b/README.md index 7e5e995..7dcc7fa 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,64 @@ avdo *.xml -o path/to/output/directory avdo -s '...' -o vector.min.xml ``` +`avdo` rewrites the `VectorDrawable` using the smallest number of ``s and ``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`. + +Before: + +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + +After: + +```xml + + + + + +``` + ## Build instructions If you want to contribute, first be sure to install the latest version of