Annual Android Antics
Android Then: Why not add a splash of color and personality to the status bar?
Android Now: I see a red door and I want it painted black. / No colors anymore, I want them to turn black...
Some people have to go to the doctor for a heart stress test. I just upgrade Android apps when Google forces me to. Today was supposed to be a simple exercise in bumping the target framework up to 36 / Android 16. Instead the status bar disappeared.
Google often deprecates things and this time for me it's setting the status bar color. Not the end of the world, but for my app the helpful default is white icons and text on a white background. Apparently if you really, really want to you can fuck around with something called the WindowInsets API but life is too short. I added a version dependent tweak to the status bar and moved on.
Catfood Earth and Fortune for Android are both rolling out over Google Play right now. They have a slightly worse look and feel and zero additional functionality but at least, for now, I'm still allowed to use some international orange in my part of the window. I'm pretty sure the next iteration of Material Design will involve the National Guard somehow.
Related Posts
- Material Design 3
- The Secret Diary of a Xamarin Android Developer, Aged 48 1/3
- Fortune Cookies for Android 1.50
- More Colors
- I can finish a web page in Android 15!
(Published to the Fediverse as: Annual Android Antics #code #earth #fortune #maui #android Handling the deprecation of status bar color in Android 16 for Catfood Earth and Android. )
Add Comment
All comments are moderated. Your email address is used to display a Gravatar and optionally for notification of new comments and to sign up for the newsletter.