Open pocmo opened 6 years ago
I was able to reduce the new version to:
android:pathData="M12.62 2.08a1 1 0 0 1 1.09 0.21l8 8A1 1 0 0 1 21 12c-1.03 0-1.89 0-2.6 0.21a2.24 2.24 0 0 0-1.5 1.24 4.5 4.5 0 0 0-0.39 1.24 8.47 8.47 0 0 1-2.8 6.01 1 1 0 0 1-1.42 0L8.5 16.92l-4.8 4.8a1 1 0 1 1-1.4-1.42l4.79-4.79-3.8-3.8a1 1 0 0 1 0-1.4 8.5 8.5 0 0 1 4.37-2.53A20.42 20.42 0 0 1 9.3 7.5a4.46 4.46 0 0 0 1.25-0.38A2.24 2.24 0 0 0 11.8 5.6 9.82 9.82 0 0 0 12 3a1 1 0 0 1 0.62-0.92zm1.27 3.22a6.37 6.37 0 0 1-0.18 0.85 4.23 4.23 0 0 1-2.26 2.74 6.49 6.49 0 0 1-1.79 0.56 25.29 25.29 0 0 1-0.65 0.11A13.86 13.86 0 0 0 8.1 9.73a6 6 0 0 0-2.64 1.3l7.52 7.52a6 6 0 0 0 1.3-2.64c0.08-0.34 0.12-0.62 0.17-0.92a23.43 23.43 0 0 1 0.1-0.65 6.49 6.49 0 0 1 0.57-1.79 4.23 4.23 0 0 1 2.74-2.26 6.5 6.5 0 0 1 0.85-0.18l-4.81-4.8z"
@bwinton can you help us and look into this? Thank you thank you 🙇
I imported this SVG: https://github.com/FirefoxUX/photon-icons/blob/master/icons/android/pin-outline-24.svg
Android Studio complains that it uses a very long vector path (1085 characters) and that this is bad for performance.
Imported path:
For some reason the previous version (not mirrored) in our repo was much smaller. But I do not remember how/if I optimized it: