Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for setting a navigation bar

A navigation bar and style technology, applied in software engineering design, instrumentation, electrical digital data processing, etc., can solve problems such as inability to flexibly set the position of navigation icons and/or navigation titles

Pending Publication Date: 2020-11-10
中消云(北京)物联网科技研究院有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for setting a navigation bar to at least solve the technical problem in the related art that the position of navigation icons and / or navigation titles in the navigation bar cannot be flexibly set

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
  • Method and device for setting a navigation bar
  • Method and device for setting a navigation bar
  • Method and device for setting a navigation bar

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an embodiment of the present invention, an embodiment of a method for setting a navigation bar is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0025] In the embodiment of the method for setting the navigation bar provided in the present application, the above-mentioned navigation bar includes: navigation icons and / or navigation titles, figure 1 is a flowchart of a method for setting a navigation bar according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0026] Step S102, acquiring a control style for controlling the navigation bar;

[0027] Step S104, setting the above-menti...

Embodiment 2

[0041] According to an embodiment of the present invention, a device embodiment for implementing the above method for setting a navigation bar is also provided, the above navigation bar includes: navigation icons and / or navigation titles, image 3 is a schematic structural diagram of a device for setting a navigation bar according to an embodiment of the present invention, such as image 3 As shown, the above-mentioned device for setting the navigation bar includes: a first obtaining module 30, a first setting module 32, a second obtaining module 34 and a second setting module 36, wherein:

[0042] The first obtaining module 30 is used to obtain the control style used to control the above-mentioned navigation bar; the first setting module 32 is used to set the above-mentioned control style in the above-mentioned navigation bar; the second obtaining module 34 is used to obtain the above-mentioned control style The received current attribute value; the second setting module 36, ...

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 method and a device for setting a navigation bar. The method comprises the following steps: acquiring a control style for controlling the navigation bar; setting the controlstyle in the navigation bar; obtaining a current attribute value received by the control style; and setting the position of the navigation icon and / or the navigation title according to the current attribute value. According to the invention, the technical problem that the position of the navigation icon and / or the navigation title in the navigation bar cannot be flexibly set in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of terminal control, in particular to a method and device for setting a navigation bar. Background technique [0002] The native navigation bar (Toolbar) in the Android system does not provide an API interface for adjusting the positions of the navigation icons and titles in the toolbar. In view of the UI adjustment requirements for navigation icons and titles in some Android software development. [0003] The adjustment method provided in the prior art is to use the API interface provided by Google to process the distance between the navigation icon and the navigation title, but it can only solve the relative distance between the navigation icon and the title, and cannot flexibly manipulate the position of the navigation icon and the navigation title in the navigation bar . [0004] For the above problems, no effective solution has been proposed yet. Contents of the invention [0005] Embodiments of the p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 邓志宏
Owner 中消云(北京)物联网科技研究院有限公司