If you use the Vector Asset wizard in Android Studio 1.5.0, any vector drawable XML you import using that wizard goes into res/drawable/
.
However, the build/
directory, and the resulting APK show that those XML files get moved into a res/drawable-anydpi-v21/
resource directory. The -v21
part makes sense, as VectorDrawable
is only supported on API Level 21+. However, -anydpi
seems to be undocumented. I would have expected -nodpi
, both for the original import destination and for where the build system elects to move it.
Has anyone seen official statements for what -anydpi
means, and what its relationship is with -nodpi
? I am looking for practical effects, not merely what some code comments hint at.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…