In my toy (for now) app, my top few layers of view...
# compose
t
In my toy (for now) app, my top few layers of view tree (or do we call them composition trees?) look like: • Pager4Theme ◦ MainScreen (mine) ▪︎ Scaffold • NaveHost But the bar across the top is the ugly dark purple. How do I change that? I tried changing variations of the stubbed in primary, primaryVariant, and secondary in my Theme, but to no avail. Then I discovered that I could change it by changing the singular stubbed value in themes.xml. Is this just one of those things that is still done outside of Compose, using the "stable" Android mechanisms?
b
Yes, I would recommend going edge to edge with a transparent status bar
Then you can pretty much handle everything in Compose
t
So... I added a "clear" color to my colors.xml
Copy code
<color name="clear">#00000000</color>
And then changed the stubbed theme to use that. Now it's just white with no visible text. Is there something I now need to do in my compose code to countermand that?
b
t
🙏