Join Slack
Powered by
Hi All, what is the point of keeping theme.xm file...
# compose
b
brabo-hi
12/01/2021, 10:54 PM
Hi All, what is the point of keeping theme.xm files and reference them in the manifest file since theming colors are defined on the
MaterialTheme
color fies
c
Chris Sinco [G]
12/01/2021, 11:21 PM
You still need them for other theming areas that are not controlled by Compose, e.g. statusBar color
Chris Sinco [G]
12/01/2021, 11:21 PM
And if your app is a mix of Views and Compose, you will certainly need them
Chris Sinco [G]
12/01/2021, 11:23 PM
Though for statusBar color, you can use Accompanist to color them in Compose code instead:
https://google.github.io/accompanist/systemuicontroller/
6
Views
Open in Slack
Previous
Next