Whenever I'm creating a new module I find myself annoyed that it does not come with a generated res directory for colors, strings etc. It is quite annoying that I have to create it within every feature-module and also I cannot find a way to create colors.xml (both dark and normal, you cannot create a file with the same name twice), is there any way to spin up a module with those empty files? (or at least add both colors (night) and normal?)
Asked
Active
Viewed 32 times
1
-
Write a script in your favorite scripting language to add whatever you want to the module. – CommonsWare Oct 29 '22 at 19:38
-
How can I add both of the color resources? – JustSightseeing Oct 29 '22 at 19:47
-
1Create XML file(s) that contain your resources. Store them somewhere on your computer. In your script, copy the files into the desired directory (e.g., `cp` command on macOS and Linux). – CommonsWare Oct 29 '22 at 19:59