ImageView is pixelated on older Android devices
<h2>The Problem</h2>
<p>I have an ImageView in my XML like that:</p>
<pre><code>                &lt;ImageView
                android:layout_width=&quot;100dp&quot;
                android:layout_height=&quot;100dp&quot;
                android:src=&quot;@drawable/ic_person_add&quot;
                android:alpha=&quot;0.87&quot; /&gt;
</code></pre>
<p>The <code>ic_person_add</code> is the normal <strong>Material design Vectoricon</strong>.</p>
<p><em>On my Nexus 5 (Android 6), the icon scales beautiful and is really sharp:</em></p>
<p><a href="https://i.stack.imgur.com/YF2n7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YF2n7.jpg" alt="Nexus 5" /></a></p>
<p><em>On a Note 2 (Android 4.4) however, the icon gets really pixelated and ugly:</em></p>
<p><a href="https://i.stack.imgur.com/jn63E.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jn63E.jpg" alt="Note 2" /></a></p>
<p>How do I get the ImageView (with a Vector as src) sharp on every device? Preferably with an only xml solution.</p>
<h2>I already found:</h2>
<ul>
<li>Adding <code>android:adjustViewBounds=&quot;true&quot;</code> -&gt; did nothing</li>
<li><a href="https://stackoverflow.com/questions/31506472/imageview-images-seem-pixelated-and-low-quality">ImageView images seem pixelated and low quality</a> -&gt; Doesn't apply to vector</li>
<li>Setting <code>BitmapFactory.inscaled=false</code> -&gt; doesn't work with only xml and I didn't know where to put this in a custom ImageView class.</li>
</ul>