title: Using SVG Code in Android Programmatically
body: <p>I am working on one project and getting svg code from server with string and i want to show this svg picture in imageview when the program is running. For example this:</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"&gt;
    &lt;path d="M30,1h40l29,29v40l-29,29h-40l-29-29v-40z" stroke="#000" fill="none"/&gt; 
    &lt;path d="M31,3h38l28,28v38l-28,28h-38l-28-28v-38z" fill="#a23"/&gt; 
    &lt;text x="50" y="68" font-size="48" fill="#FFF" text-anchor="middle"&gt;&lt;![CDATA[410]]&gt;&lt;/text&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>How can i do it. Thank you for answers.</p>