Skip to content

June 2, 2015

Diving into M: Android M will let devs use dark icons on a light status bar

by John_A

android-m-notification-bar

As we all dive into Android M, we’re learning about new features all the time and a post over on Google+ suggests that we could see icons in the status bar flip from white to dark depending on the app and the color of the app’s status bar.

As noted by Droid-Life, a developer can turn on “android:windowLightStatusBar” in the theme of their app and the system will switch to a dark foreground. On certain devices and in certain apps, we’ve already seen that white status bar icons barely show up on a light background and as long as app developers enable this feature, it could solve this ongoing problem.

At present, the preview of Android M has a bug which means that this will only change the status icons to dark, leaving notifications in white but this is likely due to the preview nature of Android M and should be fixed before the release of the platform later this year.

Android M in video:

.rvs_wrapper
width: 350px;

.rvs_wrapper.align_left
float: left;

.rvs_wrapper.align_right
float: right;

.rvs_wrapper.align_center,
.rvs_wrapper.align_none
width: 100%;

.rvs_wrapper.align_center
text-align: center;

.rvs_wrapper.align_center.cbc-latest-videos ul li
float: none;
display: inline-block;
vertical-align: top;

.rvs_wrapper.cbc-latest-videos:not(.align_none) ul li:nth-child(2n+1)
clear: both;

.rvs_title
font-weight: 600 !important;
margin: 0 !important;
font-size: 24px !important;

.rvs_wrapper.align_right .rvs_title
padding-left: 20px;

.rvs_title a
font-family: ‘Roboto Condensed’;
color: #3a3a3a;

.rvs_wrapper.cbc-latest-videos ul
padding-top: 10px;

.rvs_wrapper.align_left.cbc-latest-videos ul li,
.rvs_wrapper.align_none.cbc-latest-videos ul li
padding: 0 15px 0 0;

.rvs_wrapper.align_right.cbc-latest-videos ul li
padding: 0 0 0 15px;
float: right;

.rvs_wrapper.align_center.cbc-latest-videos ul li
padding: 0 7px;

.rvs_wrapper.cbc-latest-videos ul li > a
font-weight: 400;

.rvs_wrapper.cbc-latest-videos ul li > a .yt-thumbnail
margin-bottom: 0;

@media only screen and (max-width : 480px)
.rvs_wrapper
width: 100%;
text-align: center;

body .rvs_wrapper.cbc-latest-videos ul li
padding: 0 7px;
display: inline-block;
float: none;
vertical-align: top;

For more on Google’s latest OS, head over to our Diving Into M section, check out our first look at Android M and look at the links below:

Let us know your thoughts!

Read more from News

Leave a comment

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments