Hbuilder package into app status bar color problem

Source: Internet
Author: User

Deposition style (transparent)

iOS:
Open the app's Manifest.json file, switch to Code view, add the Uireservestatusbaroffset node under Apple, distribute, plus, and set the value to False.
Attention:
1. The real machine operation does not take effect, need to submit the app cloud packaging before it takes effect;
2. This function is only valid on iOS7 and above.
Android:
Open the app's Manifest.json file, switch to Code view, add the Immersedstatusbar node under Google Plus, distribute, and set the value to true.
Attention:
1. The real machine operation does not take effect, need to submit the app cloud packaging before it takes effect;
2. This function is only valid on Android4.4 and above.

Configuring the System Status bar style

The iOS platform can support configuration of the system status bar style, add Uistatusbarstyle under the plus->distribute->apple of the application Manifest.json file, and the default value is " Uistatusbarstyledefault ".

Uistatusbarstyledefault "Default style, IOS6 and the following system status bar is black on white, iOS7 and above system is used to define the system status bar text color black word (for light background)"
Uistatusbarstyleblackopaque "Dark background color style, iOS6 and the following system status bar for black white, iOS7 and above the system to define the system status bar on the text color (for dark background)"
Uistatusbarstyleblacktranslucent "IOS6 and the following systems in the start-up interface for gray-white, iOS7 and above the system and uistatusbarstyleblackopaque the same effect"
Set the system status bar background color (iOS7 and above in effect)

The iOS platform supports the configuration of the background color of the system status bar, adding Statusbarbackground under the plus->distribute->apple of the application Manifest.json file for control:
The value is a string type, in the format "#RRGGBB" format, such as "#FF0000" in red, and the default value as white.


App Cloud Package settings system Status bar background color operation mode
Double-click the app's Manifest.json file, switch to Code view, and add the Statusbarbackground node under the Apple node:

Hbuilder package into app status bar color problem

Related Article

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.