CN105867730B - The display methods and device of status bar - Google Patents

The display methods and device of status bar Download PDF

Info

Publication number
CN105867730B
CN105867730B CN201610178857.1A CN201610178857A CN105867730B CN 105867730 B CN105867730 B CN 105867730B CN 201610178857 A CN201610178857 A CN 201610178857A CN 105867730 B CN105867730 B CN 105867730B
Authority
CN
China
Prior art keywords
color
status bar
application interface
display
status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610178857.1A
Other languages
Chinese (zh)
Other versions
CN105867730A (en
Inventor
黄宏用
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610178857.1A priority Critical patent/CN105867730B/en
Publication of CN105867730A publication Critical patent/CN105867730A/en
Application granted granted Critical
Publication of CN105867730B publication Critical patent/CN105867730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention is suitable for technical field of mobile terminals, provides the display methods and device of status bar, comprising: obtains the first color for being located at the application interface of status bar lower zone, the application interface is the application interface for being currently operating at mobile terminal foreground;Determine second color different from the color value of first color;The display color of status information in the status bar is set according to second color, and shows the status information.The color of present invention acquisition status bar lower zone application interface, and with the color for according to the display color for determining status information in status bar, so that the display color of status information can be adjusted with the transformation of application interface and dynamically in status bar, it is effectively distinguished in the color of application interface, improves the recognizable rate of status information.

Description

The display methods and device of status bar
Technical field
The invention belongs to technical field of mobile terminals more particularly to the display methods and device of status bar.
Background technique
Status bar would generally be shown at the top of interface of mobile terminal, can show that SIM card signal, WiFi connect in status bar The important informations such as situation, Bluetooth signal, battery capacity, system notice are connect, to facilitate user to grasp the operating status of terminal at any time Or communications status, therefore, status bar is an essential component in mobile terminal operating system.
Since 4.4 version of Android, the design specification of immersion status bar is introduced, immersion status bar is being shown The application interface of Shi Huiyu mobile terminal front stage operation combines together, and on visual effect, similar " pellucidity column " gives user Impression only in superimposed on top several texts or the picture of application interface.As shown in Figure 1, the shape at the top of left figure terminal interface State column shows that the status bar at the top of right figure terminal interface is immersion status bar in a conventional manner.
Currently, there are following technological deficiencies for the display effect of immersion status bar: the application interface top below status bar When the color of text, picture in portion's color and status bar is close or consistent, user can not see the letter of the state in status bar clearly Breath, causes status information that can not be identified.
Summary of the invention
In view of this, the embodiment of the invention provides the display methods of status bar and device, to solve to work as immersion state Color and when the close or consistent color of text, picture in status bar at the top of application interface below column, status information without The identified problem of method.
In a first aspect, providing a kind of display methods of status bar, comprising:
The first color for being located at the application interface of status bar lower zone is obtained, the application interface is to be currently operating at shifting The application interface on dynamic terminal foreground;
Determine second color different from the color value of first color;
The display color of status information in the status bar is set according to second color, and shows the state letter Breath.
Second aspect provides a kind of display device of status bar, comprising:
Acquiring unit, for obtaining the first color for being located at the application interface of status bar lower zone, the application interface For the application interface for being currently operating at mobile terminal foreground;
Determination unit, for determining second color different from the color value of first color;
Display unit for the display color of status information in the status bar to be arranged according to second color, and is shown Show the status information.
The embodiment of the present invention obtains the color of status bar lower zone application interface, and is according to the state of determination with the color The display color of status information in column so that in status bar status information display color can with the transformation of application interface and Dynamic adjusts, and effectively distinguishes in the color of application interface, improves the recognizable rate of status information.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is Legacy Status column provided in an embodiment of the present invention and immersion status bar schematic diagram;
Fig. 2 is the implementation flow chart of the display methods of status bar provided in an embodiment of the present invention;
Fig. 3 is hue circle exemplary diagram provided in an embodiment of the present invention;
Fig. 4 is the structural block diagram of the display device of status bar provided in an embodiment of the present invention;
Fig. 5 is the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
The embodiment of the present invention obtains the first color for being located at the application interface of status bar lower zone, and the application interface is It is currently operating at the application interface on mobile terminal foreground;Determine second color different from the color value of first color;According to The display color of status information in the status bar is arranged in second color, and shows the status information.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 2 shows the implementation processes of the display methods of status bar provided in an embodiment of the present invention, and details are as follows:
In S201, the first color for being located at the application interface of status bar lower zone is obtained, the application interface is to work as Before operate in the application interface on mobile terminal foreground.
In the development specifications of android system, it is 720* with interface dimensions that status bar, which is located at the top of interface of mobile terminal, For 1280dpi, then status bar is located at the top of interface in the region of 720*50dpi, therefore, in embodiments of the present invention, to working as Before operate in the application interface on mobile terminal foreground, obtain the color of the application interface in above-mentioned zone.To the acquisition side of color Formula can be realized, so-called color value by reading the color value of pixel in the region, and it is right to be defined as color institute in color mode The color value answered, by taking common RGB color mode as an example, the color value of black is (0,0,0), white color value be (255,255, 255), and in general, color value is stored in the form of hexadecimal notation in systems, for example, the color value of black is stored as " # 000000 ", white color value is stored as " #FFFFFF ".
As an embodiment of the present invention, the trigger condition that S101 is executed are as follows: the application interface of status bar lower zone It changes, that is, when the application interface for detecting the status bar lower zone changes, obtain the region application interface First color, with this come guarantee status bar display can with the variation of application interface and dynamic adjust so that with See the status information in status bar clearly at any time in family.
In S202, second color different from the color value of first color is determined.
In this operation, it is thus necessary to determine that the different a kind of color of application interface color with status bar lower zone is used The reference frame of the display color of status information in as status bar.In embodiments of the present invention, whether two kinds of colors are identical, It is to be judged by the way that whether both colors corresponding color values is identical, therefore, in S202, it is thus necessary to determine that go out and first A kind of different color of color color value,
It preferably, can be to the first color in S102 in order to maximize the difference between the first color and the second color Inverse processing is carried out, the color obtained after inverse is handled is determined as the second color.So-called inverse, referring to can after being superimposed with primary colors To become the color of white, that is, the obtained color of color value of primary colors is subtracted with the color value of white (RGB:255,255,255), Such as black and white, it is red with it is green, etc..Algorithm realization on, in the color value of hexadecimal number before two indicate it is red (i.e. R in RGB), intermediate two expression are green (i.e. G in RGB), last two expressions indigo plant (i.e. B in RGB), for go forward, In, rear three groups of data, subtracting corresponding value using FF can be obtained the inverse of color, for example, color value is #3252A0, then R= FF-32, G=FF-52, B=FF-A0 connect result the color code for just having obtained inverse.
In S203, the display color of status information in the status bar is arranged according to second color, and show institute State status information.
The status information shown in status bar includes but is not limited to SIM card signal strength, WiFi signal intensity, bluetooth company Situation, battery capacity, system notice, operator's informaiton, alarm clock etc. are connect, according to the setting that user carries out system, above-mentioned letter Breath can be shown in status bar in the form of text, can also be shown in status bar in the form of small icon, for example, Fig. 1 The battery capacity of middle left figure is the percentage that remaining capacity is shown by written form, and the battery capacity in right figure is logical The small icon of cell shapes is crossed to be shown.It as an embodiment of the present invention, can be with for the text in status bar Its font color is directly set, it is preferred that the second color determined in S202 is directly arranged to text in status bar Font color, can farthest reduce the color conversion process of system background, and make the display color of text and answer It is presented a contrast with the color at the top of interface, achievees the effect that status information is easy to identify.
It is right due to the setting compared to text color for the icon in status bar as another embodiment of the present invention Icon Color carry out real-time rendering can heavy system resource computational burden, therefore, in embodiments of the present invention, execute S201 it Before, the icon resource file of N group different colours is stored for the icon that may occur in status bar in advance, wherein N for greater than 1 integer, illustratively, the value of N can be 7.In the selection of this N group different colours, in addition to most common black in status bar Color and white can also select form and aspect to differ biggish color as far as possible, for example, using hue circle shown in Fig. 3 as foundation, for Each of these form and aspect create an icon resource file, to guarantee the form and aspect of the Icon Color finally shown and the second color It is close.Since the icon resource file of creation is not necessarily just consistent with the second color determined in S202, at this In inventive embodiments, color value and the immediate icon of the second color are extracted from the icon resource file of this N group different colours Resource file is simultaneously shown.
Here, color value is closest, refer to the front two, two intermediate, last in the hexadecimal color value of two colors Two are subtracted each other respectively, and the average value of tri- differences of obtained R, G, B is minimum.Color value is closer, represents two colors compared and exists Difference is minimum in form and aspect, that is, selects color from the icon resource file of N group different colours and the second color is closest Icon resource file, the icon finally shown in this way can present a contrast with the color at the top of application interface, reach shape State information effect easy to identify.
It should be noted that the application interface that the above embodiment of the present invention is directed to status bar lower zone is pure color Situation, in fact, in Android application development process, in order not to show that content is Chong Die with immersion status bar, application and development The less interface in region design multiple color of person, and the information of application will not be exported in this region.And it is directed to one A little special applications, such as map application etc., it is understood that there may be the complex situation of the application interface color in the region, then system It can default and the status information in status bar shown with black or white, can be normally reached preferable display effect Fruit.
The embodiment of the present invention is by the color of acquisition status bar lower zone application interface, and to determine, state is believed in status bar The display color of breath, so that the display color of status information can be adjusted with the transformation of application interface and dynamically in status bar, It is effectively distinguished in the color of application interface, improves the recognizable rate of status information.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the display methods of status bar described in foregoing embodiments, Fig. 4 shows shape provided in an embodiment of the present invention The structural block diagram of the display device on state column, the display device of the status bar, which can be, is built in mobile terminal or mobile terminal The unit of software unit, hardware cell either soft or hard combination in application system.For ease of description, it illustrates only and this reality Apply the relevant part of example.
Referring to Fig. 4, which includes:
Acquiring unit 41, obtains the first color for being located at the application interface of status bar lower zone, and the application interface is It is currently operating at the application interface on mobile terminal foreground;
Determination unit 42 determines second color different from the color value of first color;
Display unit 43 is arranged the display color of status information in the status bar according to second color, and shows The status information.
Optionally, the display unit 43 is specifically used for:
Second color is set by the font color of text in the status bar.
Optionally, described device further include:
Pre-storing unit stores the icon resource file of N group different colours in advance for the icon in the status bar, described N is the integer greater than 1;
The display unit 43 is specifically used for:
It extracts color value and the immediate icon resource file of second color and shows.
Optionally, the determination unit 42 is specifically used for:
Inverse processing is carried out to first color, obtains second color.
Optionally, the acquiring unit 41 is specifically used for:
When the application interface for detecting the status bar lower zone changes, the institute of the region application interface is obtained State the first color.
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 5, mobile phone include: radio frequency (Radio Frequency, RF) circuit 510, memory 520, input unit 530, display unit 540, The components such as sensor 550, voicefrequency circuit 560, wireless module 570, processor 580 and power supply 590.Those skilled in the art It is appreciated that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone, it may include than illustrating more or fewer portions Part perhaps combines certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 580;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet Include but be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 510 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, short message service (Short Messaging Service, SMS) etc..
Memory 520 can be used for storing software program and module, and processor 580 is stored in memory 520 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 520 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 520 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 530 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 500 And the related key signals input of function control.Specifically, input unit 530 may include touch panel 531 and other inputs Equipment 532.Touch panel 531, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 531 or near touch panel 531), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include touch detecting apparatus and touching Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 580, and order that processor 580 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 531.It is defeated in addition to touch panel 531 Entering unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detect it is on it or attached After close touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 880 according to touch event Type corresponding visual output is provided on display panel 541.Although in Fig. 5, touch panel 531 and display panel 541 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 531 and display panel 541 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 541, proximity sensor can close display panel 541 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 561, be converted to sound by loudspeaker 561 by road 560 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560 It is changed to audio data, then by after the processing of audio data output processor 580, such as another mobile phone is sent to through RF circuit 510, Or audio data is exported to memory 520 to be further processed.
Wireless module is based on short range wireless transmission technology, and mobile phone can help user to receive and dispatch electricity by wireless module 570 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 shows Go out wireless module 570, but it is understood that, and it is not belonging to must be configured into for mobile phone 500, it can according to need completely It omits within the scope of not changing the essence of the invention.
Processor 580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 520, and call and be stored in memory 520 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 580 can wrap Include one or more processing units;Preferably, processor 580 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone 500 further includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 580 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Although being not shown, mobile phone 500 can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 580 included by the terminal is also with the following functions: the display side of status bar Method, comprising:
The first color for being located at the application interface of status bar lower zone is obtained, the application interface is to be currently operating at shifting The application interface on dynamic terminal foreground;
Determine second color different from the color value of first color;
The display color of status information in the status bar is set according to second color, and shows the state letter Breath.
Further, the display color that status information in the status bar is arranged according to second color includes:
Second color is set by the font color of text in the status bar.
Further, it is obtained before the first color of the application interface of status bar lower zone described, the side Method further include:
The icon resource file of N group different colours is stored for the icon in the status bar in advance, the N is greater than 1 Integer;
It is described that the display color of status information in the status bar is arranged according to second color, and show the state Information includes:
It extracts color value and the immediate icon resource file of second color and shows.
Further, described to determine that the second color includes: according to first color
Inverse processing is carried out to first color, obtains second color.
Further, first color for obtaining the application interface positioned at status bar lower zone includes:
When the application interface for detecting the status bar lower zone changes, the institute of the region application interface is obtained State the first color.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words Form embody, which is stored in a storage medium, including some instructions use so that one Computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute this hair The all or part of the steps of bright each embodiment the method for embodiment.And storage medium above-mentioned include: USB flash disk, mobile hard disk, Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various media that can store program code such as dish or CD.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (6)

1. a kind of display methods of status bar, the status bar Overlapping display is at the top of application interface characterized by comprising
The first color obtaining the application interface positioned at status bar lower zone by way of reading the color value of pixel, it is described to answer It is the application interface for being currently operating at mobile terminal foreground with interface;
Determine second color different from the color value of first color;
The display color of status information in the status bar is set according to second color, and shows the status information;
The determination second color different from the color value of first color include:
Inverse processing is carried out to first color, obtains second color;
It is obtained before the first color of the application interface of status bar lower zone described, the method also includes:
The icon resource file of N group different colours is stored for the icon in the status bar in advance, the N is the integer greater than 1;
It is described that the display color of status information in the status bar is arranged according to second color, and show the status information Include:
It extracts color value and the immediate icon resource file of second color and shows.
2. the method as described in claim 1, which is characterized in that described that shape in the status bar is arranged according to second color The display color of state information includes:
Second color is set by the font color of text in the status bar.
3. the method as described in claim 1, which is characterized in that the acquisition is located at the application interface of status bar lower zone First color includes:
When the application interface for detecting the status bar lower zone changes, described the of the region application interface is obtained One color.
4. a kind of display device of status bar, the status bar Overlapping display is at the top of application interface characterized by comprising
Acquiring unit, for obtaining the of application interface positioned at status bar lower zone by way of the color value for reading pixel One color, the application interface are the application interface for being currently operating at mobile terminal foreground;
Determination unit, for determining second color different from the color value of first color;
The determination unit is specifically used for:
Inverse processing is carried out to first color, obtains second color
Display unit for the display color of status information in the status bar to be arranged according to second color, and shows institute State status information;
Pre-storing unit, it is described for storing the icon resource file of N group different colours for the icon in the status bar in advance N is the integer greater than 1;
The display unit is specifically used for:
It extracts color value and the immediate icon resource file of second color and shows.
5. device as claimed in claim 4, which is characterized in that the display unit is specifically used for:
Second color is set by the font color of text in the status bar.
6. device as claimed in claim 4, which is characterized in that the acquiring unit is specifically used for:
When the application interface for detecting the status bar lower zone changes, described the of the region application interface is obtained One color.
CN201610178857.1A 2016-03-24 2016-03-24 The display methods and device of status bar Active CN105867730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610178857.1A CN105867730B (en) 2016-03-24 2016-03-24 The display methods and device of status bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610178857.1A CN105867730B (en) 2016-03-24 2016-03-24 The display methods and device of status bar

Publications (2)

Publication Number Publication Date
CN105867730A CN105867730A (en) 2016-08-17
CN105867730B true CN105867730B (en) 2019-03-01

Family

ID=56626022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610178857.1A Active CN105867730B (en) 2016-03-24 2016-03-24 The display methods and device of status bar

Country Status (1)

Country Link
CN (1) CN105867730B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502689A (en) * 2016-11-02 2017-03-15 珠海市魅族科技有限公司 A kind of display methods of status bar and device
CN106598582A (en) * 2016-12-07 2017-04-26 北京奇虎科技有限公司 Mobile terminal and desk application display method and apparatus therefor
CN107315515A (en) * 2017-06-20 2017-11-03 努比亚技术有限公司 Color change method, terminal and the computer-readable recording medium of status bar icon
CN108037956A (en) * 2017-12-27 2018-05-15 南昌黑鲨科技有限公司 A kind of display interface display methods, display device and computer-readable recording medium
CN110221882B (en) * 2018-03-02 2022-06-17 Oppo广东移动通信有限公司 Display method, display device, mobile terminal and storage medium
CN108958873B (en) * 2018-07-11 2021-08-20 阿里巴巴(中国)有限公司 Configuration method, device, medium and computer equipment for status bar immersive effect
WO2020047758A1 (en) * 2018-09-04 2020-03-12 深圳市欢太科技有限公司 Message prompting method and related product
CN111104193A (en) * 2018-10-25 2020-05-05 北京奇虎科技有限公司 Application program active interface display method and device, storage medium and terminal equipment
CN110618849A (en) * 2018-12-25 2019-12-27 北京时光荏苒科技有限公司 Notification bar setting method, device, equipment and storage medium
CN110109663A (en) * 2019-03-28 2019-08-09 武汉斗鱼鱼乐网络科技有限公司 It is a kind of that full frame method and relevant apparatus are set
CN111368238A (en) * 2020-03-19 2020-07-03 Tcl移动通信科技(宁波)有限公司 Status bar adjusting method and device, mobile terminal and storage medium
CN111601287B (en) * 2020-04-29 2023-08-08 维沃移动通信有限公司 Network switching method, electronic equipment and storage medium
CN111813492A (en) * 2020-08-19 2020-10-23 深圳市欢太科技有限公司 Display method and device of fast application, electronic equipment and storage medium
CN113535297B (en) * 2021-06-29 2023-02-03 未鲲(上海)科技服务有限公司 Application program status bar display method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897637A (en) * 2005-07-11 2007-01-17 佛山市顺德区顺达电脑厂有限公司 Screen-icon color changing method
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
CN104679380A (en) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 System and method for adjusting background color of user interface
CN104850395A (en) * 2015-04-17 2015-08-19 魅族科技(中国)有限公司 Interface display method and system
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622163B (en) * 2011-03-14 2018-06-05 小米科技有限责任公司 A kind of icon generation method
CN104808908B (en) * 2015-05-21 2019-05-24 北京字节跳动网络技术有限公司 A kind of display interface processing method and processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897637A (en) * 2005-07-11 2007-01-17 佛山市顺德区顺达电脑厂有限公司 Screen-icon color changing method
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
CN104679380A (en) * 2013-11-30 2015-06-03 富泰华工业(深圳)有限公司 System and method for adjusting background color of user interface
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal
CN104850395A (en) * 2015-04-17 2015-08-19 魅族科技(中国)有限公司 Interface display method and system

Also Published As

Publication number Publication date
CN105867730A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105867730B (en) The display methods and device of status bar
CN108494957A (en) Antenna switching method, device, storage medium and electronic equipment
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN104571979B (en) A kind of method and apparatus for realizing split view
CN106293375B (en) A kind of method for changing scenes and equipment
CN108418969A (en) Switching method, device, storage medium and the electronic equipment of antenna feed point
CN106296623B (en) A kind of image processing method and device
CN106204423A (en) A kind of picture-adjusting method based on augmented reality, device and terminal
CN108122528A (en) Display control method and related product
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN110209245A (en) Face identification method and Related product
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN108958629A (en) Split screen exits method, apparatus, storage medium and electronic equipment
CN108932094A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108762814A (en) Bright screen method and relevant device
CN109062634A (en) A kind of application starting method and mobile terminal
CN106502510A (en) The adaptation processing method at icon and interface, device
CN105808043B (en) A kind of setting method and mobile terminal of terminal applies
CN108984142A (en) Multi-screen display method, device, storage medium and electronic equipment
CN110363785A (en) A kind of super frame detection method and device of text
CN110413639A (en) Data check method and device, electronic equipment and computer readable storage medium
CN106936516A (en) Display screen dispaly state control method, storage medium and terminal
CN110418003A (en) A kind of brightness adjusting method, brightness regulating apparatus and mobile terminal
CN107678822B (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant