In the newer version of Android Studio, I cant see styles.xml
, but in the values directory, there are two new XML, theme.xml
and theme.xml(night)
.
Does it actually replace the work of styles.xml
OR If different what is the difference between them??
Using XML attributes in res\values
doesn't actually depend on the file name, you can define any of which like a <string>
in another file like style.xml.
Even you can change the name of the style.xml
to something that you'd like to.
In recent Android studio versions styles.xml
is replaced by themes.xml
, but the latter provides a night version for dark mode.
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