I'm creating a new project and noticed that styles.xml is no longer generated in Android Studio version 4.1. The only present there is themes.xml which has similar code with styles.xml. Does themes.xml replaced styles.xml? And if so, can I still manually create styles.xml without producing error? Thank you
Does themes.xml replaced styles.xml?
In terms of what the new-project wizard creates, yes. The filenames in res/values/ do not matter — what matters are the names (and values) of the resources defined in those files.
And if so, can I still manually create styles.xml without producing error?
Yes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With