as in how to access resources from a non compose module ?
m
Mohammed Akram Hussain
02/25/2025, 3:29 PM
I mean reference a compose resources string in a xml file in an android module
Mohammed Akram Hussain
02/25/2025, 3:31 PM
In kotlin you access them by
getString()
or
stringResources()
but how to access them in an XML file?
w
Winson Chiu
02/25/2025, 5:44 PM
I don't think that's possible. CMP resources are packaged in the assets dir, not encoded as real resources in the ARSC on Android, at least from what I understand.