Android Development Wonderful problem: Notification bar color change

Source: Internet
Author: User

This problem I am also drunk, tangled for a long while, tried without several methods, but is not responding.

Later found that this feature requires Android 5.0 or more version, a look at my test machine is 4.7, I was excited, immediately changed a test,

and eggs ah, there is wood!!!

But there is a discovery: I want to set the notification bar to Green, toolbar is also green, the main page because business needs are not used toolbar so next to the notification bar is white.

The point is that all the notification bars using toolbar should be green, but switching back to the main page notification bar has become the default color.

On the internet for a long while do not know what the reason.

If the great God is passing by, ask for advice.

Android Development Wonderful problem: Notification bar color change

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.