I'm developing an Android app with minSdk=26, and I have a few questions about launcher icons.
-
Asset Studio puts the primary icon definition xml files in
mipmap-anydpi-26, but the Android Studio linter then wants them inmipmap-anydpisince I'm targeting SDK 26. Is there a way to make Asset Studio put them there directly? -
Given that I'm targeting SDK 26, do I actually need the images in the various density-specific
mipmap-*dpidirectories? -
Importing an SVG to serve as a monochrome icon requires using Asset Studio, which creates the
ic_launcher_monochrome_foreground.xmlfile to plug into themonochromeelements of my icon definitions (regular and round). But it also generates a seemingly unused (and useless)ic_launcher_monochrome_background.xmlfile, a similarly questionable monochrome icon definition file referencing the monochrome foreground and background, and by default versions of the monochrome icon in all the density-specificmipmap-*dpidirectories. Can I delete everything butic_launcher_monochrome_foreground.xml? Is there a way to import SVG as a launcher icon element without all these other pointless files, assuming that they truly are pointless?
Thanks in advance for any answers to these questions.