Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Color configuration method of a status bar and a related device

A configuration method and status bar technology, applied to program control devices, data processing input/output processes, instruments, etc., can solve problems that affect the appearance of the page, color mismatch, and affect the normal operation of users

Inactive Publication Date: 2019-03-22
KINGSOFT
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current method of setting the immersive status bar is for the entire Window. If there are subpages in the Window that fill the entire Window, such as subpages implemented by Fragment or subpages implemented by switching between custom Views, the subpages will also be displayed continuously. and produce an immersive effect
Therefore, when the back arrow is included in the top title bar of the subpage, the back arrow may be below the status bar, affecting the normal operation of the user
The solution to this problem can only be to add a top margin value (topMargin) to each subpage, which is equivalent to leaving the position of the status bar at the top of the subpage, but this brings a new problem: all pages After the top is vacated, you will see the page tone of the activity at the bottom, resulting in a mismatch between the color of the entire status bar and the color of the title bar of the sub-page, affecting the appearance of the page

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Color configuration method of a status bar and a related device
  • Color configuration method of a status bar and a related device
  • Color configuration method of a status bar and a related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0063] Please refer to figure 1 , figure 1 It is a schematic flowchart of a color configuration method for a status bar provided by an embodiment of the present invention. As shown in the figure, the method in the embodiment of the present invention includes:

[0064] S101. When an addition request for adding a target subpage at the subpage layer is detected, acquire first color category information of a title bar of the target subpage included in th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a color configuration method of a status bar and related equipment. The method comprises the following steps: when an addition request of adding a target sub-page at a sub-pagelayer is detected, first, first color category information of a title bar of the target sub-page included in the addition request is obtained; Then, according to the first color category information,the color adaptation information of the system status bar is determined. Then, according to the color adaptation information, the color of the shading layer of the status bar is configured to match the color of the system status bar with the color of the title bar. By adopting the embodiment of the invention, the color of the system status bar can be configured according to the color adaptabilityof the title bar of the sub-page, thereby further improving the aesthetics degree of the application program interface based on the immersion status bar.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a color configuration of a status bar and related equipment. Background technique [0002] In the Android (Android) system, in order to make the interface of the application program beautiful, an immersive status bar is often used. The immersive design makes the status bar at the top of the screen float on the surface of the overall application interface, so that the entire screen can be used as the presentation area of ​​the application. Compared with the fixed black status bar used in low-version (version less than 4.4) Android systems, the immersive status bar is more comfortable and beautiful in the senses. However, the current method of setting the immersive status bar is for the entire Window. If there are subpages in the Window that fill the entire Window, such as subpages implemented by Fragment or subpages implemented by switching between custom Views, the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/451G06F3/0481
CPCG06F3/0481G06F9/451
Inventor 廖彦文
Owner KINGSOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products