Fudley 1 Posted June 12 I made the mistake of trying to use adaptive icons. Could not get it to work. I could never find where the "Artwork Generator" put the XML files. I'm not even sure it created them. And without the XML files, no adaptive icons. However, now I can't turn off "Use adaptive icon". I can uncheck it, but it will not save as there are still (errant) entries in the Foreground, Background and Monochrome entries, and I cannot delete the entries. I would just like to go back to the legacy launcher and get rid of these adaptive entries. Can I edit some file manually to get rid of them? Please advise. Share this post Link to post
Fudley 1 Posted June 13 Got it figured out but man, that's convoluted. 1 Share this post Link to post
Dave Nottage 561 Posted June 13 1 minute ago, Fudley said: Got it figured out but man, that's convoluted. I'm puzzled as to why you would post "Got it figured out", but not actually include the solution 2 Share this post Link to post
vfbb 285 Posted June 13 Also, the adaptive icon files, and all artwork generated files, are available at your project folder, in the subpath “.\<ProjectName>.Artwork\”. It is important to note that the adaptive icon and the vectorized splash are only generated when you use and SVG on the input of icon fields of the artwork generator. That is, if you use PNG image, it will generate all icons and splashs but not the android adaptive icon and android vectorized splash. If you found a real issue in the IDE and you have the steps to reproduce, please create a Jira for it, to improve future versions. Share this post Link to post
Fudley 1 Posted June 13 Had to use Astrogrep to search for all instances of "adaptive" and edit them manually, taking out the ones pointing to an XML resource. Some helpful pages: From an SVG file this will create a Vector Drawable (run from chrome) https://shapeshifter.design/ This had some good info on using Android Studio to create new vector assets https://shorturl.at/QYuVs Some really good information here reagding deployment, and information on manually creating the various " ic_*.xml files, and also how to manually add the path of an SVG file directly to the XML file. https://shorturl.at/6XaOp Another place to convert a vector into a drawable: https://svg2vector.com/ This converts between DP aand pixels: http://labs.rampinteractive.co.uk/android_dp_px_calculator/ Hope this helps. Share this post Link to post
Brandon Staggs 282 Posted June 14 15 hours ago, Fudley said: Had to use Astrogrep to search for all instances of "adaptive" and edit them manually, taking out the ones pointing to an XML resource. Probably easier just to compare your current changes to your last commit. 1 1 Share this post Link to post
Fudley 1 Posted June 14 2 hours ago, Brandon Staggs said: Probably easier just to compare your current changes to your last commit. I've ignored the History Manager so far (not on purpose, just time constraints), but I think its time I took a weekend to learn the IDE better. Say do I remember you from the Clipper days? Share this post Link to post
Brandon Staggs 282 Posted June 16 On 6/14/2024 at 11:22 AM, Fudley said: I've ignored the History Manager so far (not on purpose, just time constraints), but I think its time I took a weekend to learn the IDE better. Say do I remember you from the Clipper days? No Clipper in my history, sorry. :-) I would recommend learning Git for source control. It can be integrated into the IDE but I don't ever use it that way -- I prefer a dedicated Git client, specifically Fork. However much time it takes you to learn to use it is time well spent. Once you train yourself to commit your changes and branch off for experiments, you will never worry about breaking your code, and problems like what you posted here are very easily solved, because you can always see everything that changed, exactly. Share this post Link to post