Fix docs for importing vector drawable from svg in clank
The website that's currently linked is deprecated so replacing with a link to the public Android Studio instructions (which are referenced from some other docs already). I've also removed the avocado suggestion, as from the bug it seems that a more scalable approach would be to have the build system do this rather than requiring each developer to set up tooling to achieve very small gains. Change-Id: Id20bdd8ee4c9da6701004c702579c16a1d819860 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3709947 Reviewed-by: Andrew Grieve <agrieve@chromium.org> Auto-Submit: James Lee <ljjlee@google.com> Commit-Queue: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/main@{#1014920}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
e671193414
commit
c081515aa5
@ -125,8 +125,7 @@ There are two mechanisms for compressing Chrome l10n files.
|
||||
stored as vectors.
|
||||
* For images used in native code: [VectorIcon](https://chromium.googlesource.com/chromium/src/+/HEAD/components/vector_icons/README.md).
|
||||
* For Android drawables: [VectorDrawable](https://developer.android.com/guide/topics/graphics/vector-drawable-resources).
|
||||
* Convert from `.svg` online using https://inloop.github.io/svg2android/.
|
||||
* Optimize vector drawables with [avocado](https://bugs.chromium.org/p/chromium/issues/detail?id=982302).
|
||||
* Convert from `.svg` following [this guide](https://developer.android.com/studio/write/vector-asset-studio.html#svg).
|
||||
* (Googlers): Find most icons as .svg at [go/icons](https://goto.google.com/icons).
|
||||
* Would **lossy** compression make sense (often true for large images)?
|
||||
* If so, [use lossy webp](https://codereview.chromium.org/2615243002/).
|
||||
|
Reference in New Issue
Block a user