Lilly
01/22/2021, 3:25 AMMaterialTheme
composable.
Another question would be if we can set the color of the system bar via compose or is it only via theme.xml possible?Adam Powell
01/22/2021, 4:35 AMcb
01/22/2021, 6:36 PMAdam Powell
01/22/2021, 6:56 PMLilly
01/22/2021, 8:10 PMYou can take it down to just the one theme file for the starting window if you wantWouldn't I need two, one default theme.xml and one theme.xml with
night
modifier for dark mode? Otherwise like u said
so you could imagine why you might want to make that light/dark aware; you wouldn't want someone using the app in dark mode to get a sudden bright flash on their screen when your app first loads.So we can't expect that xml system is dropped anytime (so we don't need to have theme.xml)?
Adam Powell
01/22/2021, 8:15 PMandroid:windowDisablePreview
attribute to true
in the themeLilly
01/22/2021, 8:45 PMcb
01/22/2021, 9:08 PMI always just take over the drawing of bar backgrounds via insets and do my own thing 🤷♂️
Same, but I feel like we might be a bit on our own in thinking that’s the easiest way 😂
Cicero
08/15/2021, 11:25 AM