I am trying to use vector drawings in my android application. From http://developer.android.com/training/material/drawables.html (my highlight):
In Android 5.0 (API Level 21) and higher, you can define vector drawings , which scale without loss of definition.
Using this feature:
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="@color/colorPrimary" android:pathData="M14,20A2,2 0 0,1 12,22A2,2 0 0,1 10,20H14M12,2A1,1 0 0,1 13,3V4.08C15.84,4.56 18,7.03 18,10V16L21,19H3L6,16V10C6,7.03 8.16,4.56 11,4.08V3A1,1 0 0,1 12,2Z" />
and this ImageView:
<ImageView android:layout_width="400dp" android:layout_height="400dp" android:src="@drawable/icon_bell"/>
creates this blurry image when trying to display the icon on 400dp (on a fairly large low-resolution mobile device around 2015 using a lollipop):

Changing the width and height in the definition of a vector suitable for 200dp significantly improves the situation at a size of 400dp. However, setting this parameter as an element for text (for example, to the left of the text) now creates a huge icon.
My questions:
1) Why is the width / height specification in the vector available? I thought the whole thing is that they scale up and down without loss, making width and height meaningless in their definition?
2) Is it possible to use a single vector drawing that works like 24dp, extruded in a TextView, but scales well to use also large images? For example. How can I avoid creating multiple vector drawings of different sizes and use the one that scales to my visualized requirements instead?
3) How to use width / height attributes effectively and what is the difference with viewportWidth / Height?
Additional Information:
- The device works with API 22
- Using Android Studio v1.5.1 with Gradle version 1.5.0
- The manifest is compilation and the target level is 23, the minimum level is 15. I also tried to move the minimum level to 21, but that didn't matter.
- Decompiling the APK (with a minimum level set to 21) shows one XML resource in a portable folder. Rasterized images are not created.