<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Iryna Sahaidak on Medium]]></title>
        <description><![CDATA[Stories by Iryna Sahaidak on Medium]]></description>
        <link>https://medium.com/@irynasahaidak?source=rss-386672f549d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ewHYuH89Yz6btNuoCJbhgA.jpeg</url>
            <title>Stories by Iryna Sahaidak on Medium</title>
            <link>https://medium.com/@irynasahaidak?source=rss-386672f549d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 04:32:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@irynasahaidak/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to export clean .svg from Adobe Illustrator for Android Studio]]></title>
            <link>https://medium.com/@irynasahaidak/how-to-export-clean-svg-from-adobe-illustrator-for-android-studio-6ff542658956?source=rss-386672f549d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ff542658956</guid>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[adobe-illustrator]]></category>
            <dc:creator><![CDATA[Iryna Sahaidak]]></dc:creator>
            <pubDate>Wed, 05 Jul 2017 10:49:48 GMT</pubDate>
            <atom:updated>2017-07-05T10:49:48.014Z</atom:updated>
            <content:encoded><![CDATA[<p>These are my notes taking from a last project, where I had to help Android developers with the hand-out of design mock-ups. Graphic sources were prepared by another designer incorrectly and there were a lot of issues. And due all of these it wasn’t available to use Zeplin or any similar magic tool for collaboration between designer and developer.</p><p>So this is the story about correct <strong>.svg</strong> export from the <strong>Adobe Illustrator for Android Studio. </strong>Useful for anyone who works with the .svg for the first time in Adobe Illustrator.</p><h3>How I check .svg icons after export</h3><p>I’ve made two simple steps for every icon to be sure that all of them will display correctly:</p><h4>Step 1.</h4><p>Upload all icons one-by-one into <a href="http://inloop.github.io/svg2android/">this link</a>. <br>This source helps to catch majority of bugs with more-less clear error messages. E.g.:</p><blockquote><strong>Warning #1: </strong>transforms on path are not supported, use option <em>Bake transforms into path</em></blockquote><h4>Step 2.</h4><p>Create a new project in the Android Studio, select <strong>App-Res-Drawable </strong>and press right button on the Drawable to<strong> </strong>add<strong> New Vector Asset. </strong>Now you can upload the desired icon and <strong>review the image</strong> in window appeared.</p><p>In case all looks OK — I get the .xml from Android Studio and give it to devs.</p><p>Here are some issues and tips&amp;trick I’ve figured out during the export process (this list may vary and depends on the designer’s experience ;) So...</p><h3>Don’t forget about:</h3><p>1. Check <strong>Opacity </strong>settings for the exported object. Otherwise you will get the next warning message (the same text you’ll get with the Stroke problem, which is described below — but for the opacity this message isn’t obvious):</p><blockquote><strong>Warning:</strong> stroke-width not found on path one or more times. Defaulting all instances to 1.</blockquote><p>You may use an Eyedropper Tool to get the numeric values color instead of transparency percentage.</p><p>2. No <strong>Strokes </strong>for the final icon’s version. Choose <strong>Object-Path-Outline Stroke </strong>to prevent the errors of displaying (most of all Android Studio will not display such image).</p><p>3. If you had apply <strong>Clipping Mask </strong>to some object elements and didn’t make the next sequence <strong>Object-Expand Appearance (or Expand)</strong> and <strong>Pathfinder-Crop </strong>you would get the next reminder:</p><blockquote><strong>Warning #1: </strong>transforms on path are not supported, use option <em>Bake transforms into path</em></blockquote><blockquote><strong>Warning #3: </strong>found clip-path(s) attribute which is not fully supported yet (try enabling support for clip-path below)</blockquote><p>4. Avoid any <strong>Raster Effects </strong>(glowing, shadows, etc) — they will never be exported correctly.</p><p>5. <strong>Combine Shapes </strong>where it’s possible. <em>Always</em> try to simplify shapes.</p><p>6. Avoid <strong>Transformation.</strong> The possible text of error message below:</p><blockquote><strong>Warning:</strong> transforms on path are not supported, use option <em>Bake transforms into path</em></blockquote><p>7. Pay attention to the <strong>.SVG Export Settings</strong> in Adobe Illustrator. After the first export I’ve noticed that all images look like a black spots instead of colorful icons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*ZWrKwcfiBJPNTHzkaHo1lg.png" /><figcaption>Icon preview from Android Studio</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*a4kf9OphvaC-EYnFIBT_5Q.png" /><figcaption>This one setting leads me to the ‘black spot’ icon in the Android Studio.</figcaption></figure><p>I found the possible solution <a href="https://css-tricks.com/illustrator-to-svg/">here</a> and <a href="https://stackoverflow.com/questions/35851218/vector-asset-studio-is-importing-colorful-svg-file-as-black-and-white">here</a>.</p><blockquote><strong>Styling:</strong> “Presentation Attributes” means stuff like fill: red; rather than “Inline Styles” which means style=”fill: red;”. Presentation attributes are easier to override in CSS. Inline styles provide more style resilience. There is also an option to export styles in a &lt;style&gt; block within the SVG, which <em>may</em> be efficient on SVG with lots of similar elements.</blockquote><p>Here is the result with updated preferences:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*GNonM11FQW5V_qm-trLrnA.png" /><figcaption>Set ‘Presentation Attributes’ in Styling to get the marvelous bright icons.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*EQ54PWoN8KX87bgzllBJ3g.png" /><figcaption>Icon preview from the Android Studio (exported with correct settings from AI)</figcaption></figure><p>Hope, these notes will be helpful for you. If you found another useful tips for export and preparation options — please share with us, I’ll update the post. Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ff542658956" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>