CN106681586A - Placement position adjusting method and device - Google Patents

Placement position adjusting method and device Download PDF

Info

Publication number
CN106681586A
CN106681586A CN201611192480.1A CN201611192480A CN106681586A CN 106681586 A CN106681586 A CN 106681586A CN 201611192480 A CN201611192480 A CN 201611192480A CN 106681586 A CN106681586 A CN 106681586A
Authority
CN
China
Prior art keywords
content
drawn
interface
son
display
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.)
Pending
Application number
CN201611192480.1A
Other languages
Chinese (zh)
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 CN201611192480.1A priority Critical patent/CN106681586A/en
Publication of CN106681586A publication Critical patent/CN106681586A/en
Pending legal-status Critical Current

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Editing Of Facsimile Originals (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the invention discloses a placement position adjusting method, and is applied to the technical field of terminals. The method comprises the following steps: recording the position information of contents displayed by a drawn secondary placement on an interface; detecting whether the region of a preset position of contents displayed by a secondary placement to be drawn on the interface and the region of the recorded position of the contents displayed by the drawn secondary placement are overlapped or not; if the regions are overlapped, adjusting the position of the secondary placement to be drawn on the interface according to a pre-setting rule through a root placement so that the region of the position of the contents displayed by the secondary placement to be drawn on the interface and the region of the recorded position of the contents displayed by the drawn secondary placement on the interface are not overlapped. The embodiment of the invention further discloses a placement position adjusting device. Overlapping of contents displayed in the interface can be avoided.

Description

Placement position method of adjustment and device
Technical field
The invention belongs to field of terminal technology, more particularly to a kind of placement position method of adjustment and device.
Background technology
With the popularization of intelligent and portable equipment, particularly smart mobile phone, how the function of intelligent and portable equipment is carried out It is kind, it is the important directions of technology development.The display function at the application UI interfaces of intelligent and portable equipment is essential function.Intelligence During the application UI display interface display contents of energy portable equipment, the situation that display content overlaps display, serious shadow can be frequently encountered Display effect is rung.
Regarding to the issue above, technical finesse mode typically now is:It is automatic when word is long to show ellipsis, but on State the adjustment that Adjusted Option is carried out both for display module itself, it is impossible to solve influence of other modules to display module, adjust It is whole inefficient, it is not easy to operate.
The content of the invention
The present invention provides a kind of placement position method of adjustment and device, it is intended to solve in display interface due to display content When changing and viewing area occur and overlap, it is low to eliminate the overlapping phenomenon efficiency, and not easy-operating problem.
Embodiment of the present invention first aspect provides a kind of placement position method of adjustment, including:
Positional information of the content of the son layout display that record has been drawn on interface;
Detect that son to be drawn is laid out the content for showing default position on interface, the son layout drawn with record Whether generation area overlaps for the position of the content of display;
If generation area overlaps, it is laid out by root and adjusts the son layout to be drawn on the boundary according to presetting rule Position on face, so that position of the content of the son layout display to be drawn on the interface, the drafting with record Generation area does not overlap for position of the content of son layout display on the interface.
Embodiment of the present invention second aspect provides a kind of placement position adjusting apparatus, including:
Logging modle, for recording positional information of the content of the son layout display drawn on interface;
Detection module, for detecting that son to be drawn is laid out the content for showing default position on interface, with record Whether generation area overlaps for the position of the content of the son layout display drawn;
Adjusting module, if being overlapped for generation area, is laid out by root and adjusts described to be drawn according to presetting rule Position of the son layout on the interface, so that position of the content of the son layout display to be drawn on the interface, Generation area is not Chong Die with the position of content that sub- layout shows on the interface of having drawn of record.
Knowable to the embodiments of the present invention, placement position method of adjustment and device that the present invention is provided, by record The position of the content of the son layout display of drafting, all detects that current son layout to be drawn is aobvious when new son layout is drawn every time The content shown default position on interface, if the position generation area with the content of the son layout display for having recorded is Chong Die, If overlapping, the drafting position of son layout to be drawn is adjusted so that the son layout drawn out according to the drafting position after adjustment The content of display, generation area is not Chong Die with the position of the content of the son layout display for having recorded, due to drawing new son layout When all carry out the detection and detect the adjustment after generation area overlaps whether the region of content as indicated above overlap so that according to Position after adjustment is drawn new son layout and just can eliminate the overlap in the region, so as to avoid each sub- layout from being sent out in display content Raw to overlap, the display properties to interface is optimized.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention.
Fig. 1 is that the placement position method of adjustment that first embodiment of the invention is provided realizes schematic flow sheet;
Fig. 2 is that the placement position method of adjustment that second embodiment of the invention is provided realizes schematic flow sheet;
Fig. 3 is that the technological deficiency of prior art causes the terminal display interface figure for display content region overlap occur;
Fig. 4 is after the placement position method of adjustment provided by the present embodiment is adjusted to the technical problem that Fig. 3 is produced Terminal display interface figure;
Fig. 5 is the structural representation of the placement position adjusting apparatus that third embodiment of the invention is provided;
Fig. 6 is the structural representation of the placement position adjusting apparatus that fourth embodiment of the invention is provided;
Fig. 7 shows a kind of terminal hardware structure chart.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Placement position method of adjustment provided in an embodiment of the present invention, can be applied to the intelligence such as smart mobile phone, panel computer just In taking equipment.When system is during the drafting at interface is carried out, by whether occurring between the content for detecting son layout display Region overlaps to detect during two module display contents that whether display content can occur in same region overlaps, and works as generation Automated intelligent is laid out adjustment when region overlaps, so as to avoid the occurrence of the extreme case of the display content overlap in interface. Specifically refer to the specific descriptions of following embodiments.
Refer to Fig. 1, the placement position method of adjustment that Fig. 1 is provided for first embodiment of the invention realizes that flow is illustrated Figure, mainly includes the following steps that:
Positional information of the content of the son layout display that S101, record have been drawn on interface;
The interface can be UI interfaces to be drawn.
The positional information of the content on interface of the son layout display drawn refers to the content that shows of the sub- layout at this The information of original position and end position on interface.For example, the positional information of a content for son layout display is [(0,0); (50,50)], the starting position coordinates of the content that the sub- layout shows are represented for (0,0), end position coordinate is (50,50).
S102, the content of son layout display the to be drawn default position on interface is detected, with having drawn for record Whether generation area overlaps for the position of the content of son layout display;
Detect that son to be drawn is laid out the content for showing default position on interface, all sons drawn with record Whether generation area overlaps for the position of the content of layout display, i.e. if detecting, according to the default position display, this is to be drawn The content of the display of son layout, if the position where the content of son layout display drawn before taking.If accounting for With, then it represents that generation area overlaps, if being not take up, then it represents that generation area does not overlap.
It should be noted that the region of the content that all of sub- layout shows is big on interface to be drawn in system Small and position pre-sets.The initial position of the content shown after first confirming to draw before drawing son layout, then start to draw The sub- layout.The initial position of one content of the first of interface son layout display is to pre-set confirmation according to system , the area size of this first content of son layout display is determined according to the content shown in this first son layout , therefore, the end position of this first content of son layout display can change because of the change of its display content, example Such as, complete in order to show because display content increases, the end position of the content of the first son layout display than sets in advance That puts more keeps right, if now, second son layout is drawn according to the position of the content of the default display of original itself, then The content left end that may be shown is Chong Die with the right-hand member generation area of this first content of son layout display.By contrast this second The position that the content of son layout display pre-sets and this first position of the content of son layout display completed, can With judge draw after this second son layout display content whether with this son layout display content position whether Overlap, i.e., during display, the display content of the corresponding display module of the second son layout, if with the first sub- cloth Whether generation area overlaps the display content of the corresponding display module of office, and interact display effect.
If S103, generation area overlap, it is laid out by root and adjusts the son layout to be drawn at this according to presetting rule Position on interface, so that the content of the son layout display to be drawn position on the surface, of drafting with record Generation area does not overlap to be laid out the content for showing position on the surface.
Root layout is adjusted son layout the to be drawn position on the surface so that this after adjustment is waited to draw Generation area is not Chong Die the position of content that is shown with the son layout drawn on the interface of content of son layout display, from And, different sons are laid out the content that corresponding different viewing areas show, will not overlap phenomenon, so as to not interfere with user couple The result of browse of the display content.The specific enlightenment position of adjustment is obtained after being calculated by preset algorithm.
Further, continue to draw new when the son layout drawn, the perform detection son layout to be drawn is aobvious again The content shown default position on interface, with record drawn son layout display content position whether generation area Overlap, until completing the drafting of son layout on the interface.
That is, when draw it is new wait the son layout drawn when, return to step S102, if generation area overlaps, order is performed Step S103, i.e. if generation area overlaps, is laid out by root and adjusts the son layout to be drawn on the boundary according to presetting rule Position on face, so that the content of the son layout display to be drawn position on the surface, the sub- cloth of drafting with record The content of office's display position on the surface does not overlap generation area.
Further, if non-generation area overlaps, can continue to draw current sub- cloth to be drawn according to default position Office, until completing the drafting of all sub- layouts on the interface.
So, after having drawn the interface, when the contents such as word, picture are shown, different sons are laid out corresponding different displays Word, picture that region shows etc., will not overlap phenomenon, so as to not interfere with user to word, the result of browse of picture.
In the embodiment of the present invention, the position of the content of the son layout display drawn by record is drawing new every time The current sub content for being laid out display default position on interface to be drawn all is detected during son layout, if with the son for having recorded The position generation area for being laid out the content of display overlaps, if overlapping, adjusts the drafting position of son layout to be drawn so that press The content of the sub- layout display drawn out according to the drafting position after adjustment, the position of the content shown with the son layout for having recorded is not Generation area overlaps, due to all carrying out detection and detection that whether the region of content as indicated above overlaps when drawing new son layout Adjustment after being overlapped to generation area so that drawing new son layout according to the position after adjustment just can eliminate the weight in the region Folded, so as to avoid each sub- layout from being overlapped in display content, the display properties to interface is optimized.
Refer to Fig. 2, the placement position method of adjustment that Fig. 2 is provided for second embodiment of the invention realizes that flow is illustrated Figure, mainly includes the following steps that:
Positional information of the content of the son layout display that S201, record have been drawn on interface;
The positional information of the content on interface of the son layout display drawn refers to the content that shows of the sub- layout at this The information of original position and end position on interface, generally refers to the coordinate information of original position and end position.
The triggering root that S202, acquisition pre-set is laid out the property value of the sub- placement position of adjust automatically;
User can be system in be laid out attribute increase by one be used for trigger root layout automatic detection son layout between be No generation area overlaps, and the sub- placement position of adjust automatically attribute " auto ".During setting, its default conditions is not carried out The state of setting is set to auto=false, i.e. root layout and is unable to the property value of the sub- placement position of adjust automatically, when auto values are During false, the problem that other modes avoid display content from overlapping is enabled.
Automatic detection son layout between whether generation area overlap before, the property value is first checked, if the property value is Ture, then perform step S203, if the property value is false, performs step S206.
S203, the content of son layout display the to be drawn default position on interface is detected, with having drawn for record Whether generation area overlaps for the position of the content of son layout display;
Detect that son to be drawn is laid out the content for showing default position on interface, all sons drawn with record Whether generation area overlaps to be laid out the position of content of display, i.e. if according to the default position to draw this to be drawn for detection After son layout, the position where the content of shown content son layout display drawn before whether taking, if Take, then it represents that generation area overlaps, if vacant, then it represents that generation area does not overlap.
If S204, generation area overlap, size and position according to overlapping region, by root distributing adjustment, this waits to draw Son layout position on the surface so that this wait to draw content that sub- layout show position on the surface it is downward or to Move right preset distance;
Root layout is adjusted son layout the to be drawn position on the surface so that this after adjustment is waited to draw Generation area is not Chong Die the position of content that is shown with the son layout drawn on the interface of content of son layout display, from And, different sons are laid out the corresponding content shown on interface, and will not overlap phenomenon, aobvious to this so as to not interfere with user Show the result of browse of content.
Specifically, the size according to overlapping region and position, by root distributing adjustment, the son layout to be drawn is on the boundary Position on face is downward or moves right, so that corresponding position on the surface of content of the son layout display to be drawn The downward or preset distance that moves right, more specifically, size and the position of the overlapping region are obtained, according to the chi of the overlapping region Very little and position, the original position of the content for redefining the son layout display to be drawn is laid out by the root, i.e. it is determined that this Beginning position coordinate, after determining the original position, according to the original position, draw the son layout to be drawn.
In one example, current root layout is a frame layout, and to be drawn the first son layout for pre-setting is aobvious The starting position coordinates of the content shown are (0,0), and the content of second display of son layout starts to draw from (0,50).Drawing During, shown because the word of this first son layout display has been switched to Russian from Chinese, cause word line number excessive, show The word content for showing highly has exceeded 50, then the word of this second son layout display will be superimposed upon first son layout display Last column word on, the height of a line word is less than 20, and now, root layout is automatically by this second son layout display The automatic content for increasing the son layout display of 20, i.e., second of ordinate for holding the distance of upper edge starts drafting from (0,70).This Sample, avoid with first son layout display word position generation area it is Chong Die, so as to avoid in interface display The text overlays phenomenon of appearance.
Further, continue to draw new when the son layout drawn, the perform detection son layout to be drawn is aobvious again The content shown default position on interface, with record drawn son layout display content position whether generation area Overlap, until completing the drafting of son layout on the interface.
That is, when draw it is new wait the son layout drawn when, return to step S203, if generation area overlaps, order is performed Step S204, i.e. if generation area overlaps, is laid out by root and adjusts the son layout to be drawn on the boundary according to presetting rule Position on face, so that the content of the son layout display to be drawn position on the surface, the sub- cloth of drafting with record The content of office's display position on the surface does not overlap generation area.
Further, if non-generation area overlaps, can continue to draw current sub- cloth to be drawn according to default position Office, until completing the drafting of all sub- layouts on the interface.So, after having drawn the interface, in contents such as display word, pictures When, different sons are laid out word, picture that corresponding different viewing areas show etc., and will not overlap phenomenon, so that will not shadow User is rung to word, the result of browse of picture.
S205, when detect display content generation area overlap when, the display content is contracted according to preset size Small display, is overlapped with eliminating occurred region.
If for whether generation area to overlap between the content for triggering root layout automatic detection son layout display, and automatically The property value for adjusting sub- placement position is false, i.e. detect the current property value is set to auto=false, then root cloth Office can not automatically perform above-mentioned detection and adjustment process, can when detect display content generation area overlap when, i.e., word or When overlaying graphics show, the content of display is carried out into diminution according to preset size and is shown, for example, the font size of word is diminished, Overlap eliminating occurred region with to reach taken up room by reducing display content.
In the embodiment of the present invention, the position of the content of the son layout display drawn by record is drawing new every time The current sub content for being laid out display default position on interface to be drawn all is detected during son layout, if with the son for having recorded The position generation area for being laid out the content of display overlaps, if overlapping, adjusts the drafting position of son layout to be drawn so that press The content of the sub- layout display drawn out according to the drafting position after adjustment, the position of the content shown with the son layout for having recorded is not Generation area overlaps, due to all carrying out detection and detection that whether the region of content as indicated above overlaps when drawing new son layout Adjustment after being overlapped to generation area so that drawing new son layout according to the position after adjustment just can eliminate the weight in the region Folded, so as to avoid each sub- layout from being overlapped in display content, the display properties to interface is optimized.
Fig. 3 is referred to, by taking interface of mobile terminal as an example, when display word is due to language, display content increases Fig. 3 Line number, causes display content region to overlap.By the placement position method of adjustment provided in the embodiment of the present invention, to the interface The position of son layout is adjusted so that the overlapping region of display content disappears, interface of mobile terminal schematic diagram as shown in figure 4, Fig. 4 is the technique effect figure that the display problem in Fig. 3 has been solved after adjusting.
Fig. 5 is referred to, Fig. 5 is the structural representation of the placement position adjusting apparatus that third embodiment of the invention is provided, and is It is easy to explanation, illustrate only the part related to the embodiment of the present invention.Before the placement position adjusting apparatus of Fig. 5 examples can be State the executive agent of the placement position method of adjustment that Fig. 1 and embodiment illustrated in fig. 2 are provided.The device can be terminal or terminal One module.The placement position adjusting apparatus of Fig. 5 examples, mainly include:Logging modle 301, detection module 302 and adjustment mould Block 303.Each functional module describes in detail as follows above:
Wherein, logging modle 301, for recording positional information of the content of the son layout display drawn on interface.
The positional information of the content on interface of the son layout display drawn refers to the content that shows of the sub- layout at this The coordinate of original position and end position on interface.
Detection module 302, for detecting that son to be drawn is laid out the content for showing default position on interface, with record Drawn son layout display content position whether generation area overlap.
The area size of the content of the son layout display in system on the interface to be drawn to and position set in advance Put.
Detection module 302 detects that son to be drawn is laid out the content for showing default position on interface, with record Whether generation area overlaps for the position of the content of the son layout display of drafting, i.e. if detection is drawn according to the position of systemic presupposition The son layout to be drawn, the then display content that the son to be drawn is laid out son layout drawn before whether taking Position where the content of display.
Adjusting module 303, if being overlapped for generation area, adjusts this to be drawn by root layout according to presetting rule Son layout position on the surface, so that the content of the son layout display to be drawn position on the surface, with record Generation area does not overlap for content that sub- layout shows position on the surface of having drawn.
Detection module 302, when being additionally operable to continue to draw new son layout to be detected, detects that the son layout to be drawn is aobvious The content shown default position on interface, with record drawn son layout display content position whether generation area Overlap.
Draw new when the son layout drawn every time, detection module 302 is all repeated and detects son layout to be drawn The content of display default position on interface, with record drawn son layout display content position whether generating region Domain overlaps.
If generation area overlaps, adjusting module 303 is laid out by root and adjusts the sub- cloth to be drawn according to presetting rule Office position on the surface, so that the content of the son layout display to be drawn position on the surface, with record Draw son and be laid out the content for showing position on the surface not generation area overlap.
Further, if non-generation area overlaps, drafting module can continue to be drawn according to default position currently to be waited to paint The content of the son layout display of system, until completing the drafting of all sub- layouts on the interface
The present embodiment details not to the greatest extent, refers to the description of earlier figures 1 and embodiment illustrated in fig. 2, and here is omitted.
It should be noted that in the implementation method of the placement position adjusting apparatus of figure 5 above example, each functional module is drawn Point be merely illustrative of, in practical application can as needed, such as the realization of the configuration requirement or software of corresponding hardware It is convenient to consider, and above-mentioned functions distribution is completed by different functional modules, will placement position adjusting apparatus internal structure Different functional modules are divided into, to complete all or part of function described above.And, in practical application, this implementation Corresponding functional module in example can be realized by corresponding hardware, it is also possible to which it is complete to perform corresponding software by corresponding hardware Into.Each embodiment that this specification is provided can all apply foregoing description principle, below repeat no more.
In the embodiment of the present invention, the position of the content of the son layout display drawn by record is drawing new every time The current sub content for being laid out display default position on interface to be drawn all is detected during son layout, if with the son for having recorded The position generation area for being laid out the content of display overlaps, if overlapping, adjusts the drafting position of son layout to be drawn so that press The content of the sub- layout display drawn out according to the drafting position after adjustment, the position of the content shown with the son layout for having recorded is not Generation area overlaps, directly due to all carrying out what whether the region of the son layout of content as indicated above overlapped when drawing new son layout Detect and detect the adjustment after generation area overlaps so that drawing new son layout according to the position after adjustment just can eliminate this The overlap in region, so as to avoid each sub- layout from being overlapped in display content, the display properties to interface is optimized.
Refer to Fig. 6, the structural representation of the placement position adjusting apparatus that fourth embodiment of the invention is provided, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention.The placement position adjusting apparatus of Fig. 6 examples can be earlier figures 1 The executive agent of the placement position method of adjustment provided with embodiment illustrated in fig. 2.The device can be of terminal or terminal Module.The difference of the device in the placement position adjusting apparatus of Fig. 6 examples, with embodiment illustrated in fig. 5 is essentially consisted in:
Further, adjusting module 303, specifically for the size according to overlapping region and position, are laid out by the root and adjusted Whole son layout the to be drawn position on the surface, so that content of the son layout display to be drawn is on the surface Position downwards or the preset distance that moves right.
More specifically, the device also includes:Acquisition module 401 and drafting module 402;
Acquisition module 401, size and position for obtaining the overlapping region;
Adjusting module 303, is additionally operable to the size according to the overlapping region and position, and redefining this by root layout treats The original position of the content of the son layout display of drafting, so that the content of the son layout display to be drawn position on the surface Put the downward or preset distance that moves right;
Size and position according to the overlapping region, it is to be drawn that adjusting module 303 redefines this by root layout The original position of the content of son layout display, i.e. determine the coordinate of the original position, so that the son layout display to be drawn Content position on the surface downwards or the preset distance that moves right.
Drafting module 402, for according to the original position, drawing the son layout to be drawn.
Further, acquisition module 401, are additionally operable to obtain what the triggering root layout adjust automatically for pre-setting was laid out Property value.
In system be laid out attribute increase by one be used for trigger root layout automatic detection son layout between whether generation area Overlap, and the sub- placement position of adjust automatically attribute " auto ".Acquisition module 401 obtains the property value.
Detection module 302, if being additionally operable to the property value for ture, detects the content of son layout display to be drawn on boundary Default position on face, whether generation area is Chong Die with the position of the content of the son layout display drawn of record.
If the property value is ture, detection trigger module 302 detects the content of son layout display to be drawn at interface Upper default position, whether generation area is Chong Die with the position of the content of the son layout display drawn of record.
Further, the device also includes:
Display module 403, if being false for the property value, when display content generation area overlap is detected, will Display content carries out diminution and shows according to preset size, to eliminate produced overlap.
If the property value is false, when display content generation area overlap is detected, triggering display module 403 will Display content carries out diminution and shows according to preset size, is overlapped with the region produced by eliminating.
The present embodiment details not to the greatest extent, refers to the description of earlier figures 1 to embodiment illustrated in fig. 5, and here is omitted.
In the embodiment of the present invention, the position of the content of the son layout display drawn by record is drawing new every time The current sub content for being laid out display default position on interface to be drawn all is detected during son layout, if with the son for having recorded The position generation area for being laid out the content of display overlaps, if overlapping, adjusts the drafting position of son layout to be drawn so that press The content of the sub- layout display drawn out according to the drafting position after adjustment, the position of the content shown with the son layout for having recorded is not Generation area overlaps, due to all carrying out detection and detection that whether the region of content as indicated above overlaps when drawing new son layout Adjustment after being overlapped to generation area so that drawing new son layout according to the position after adjustment just can eliminate the weight in the region Folded, so as to avoid each sub- layout from being overlapped in display content, the display properties to interface is optimized.
Fig. 7 is referred to, Fig. 7 is that the terminal structure of execution placement position method of adjustment provided in an embodiment of the present invention is illustrated Figure.
Terminal described in the present embodiment, including:
At least one input equipment 51;At least one output equipment 52;At least one processor 53, such as center treatment Device;And, memory 54.
Above-mentioned input equipment 51, output equipment 52, processor 53 and memory 54 are connected by bus 55.
Wherein, input equipment 51 concretely camera, contact panel, physical button or mouse etc..Output equipment 52 concretely display screens.
Memory 54 can be high random access memory body (RAM, Random Access Memory) memory, also may be used It is non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 54 is used to store one group of journey Sequence code, above-mentioned input equipment 51, output equipment 52 and processor 53 are used to call the program code stored in memory 54, hold The following operation of row:
Code is performed by processor 53, the placement position adjustment as described in earlier figures 1 and embodiment illustrated in fig. 2 is performed Method.
Specifically, that is, positional information of the content of the son layout display that record has been drawn on interface is performed;Detect and wait to paint The content of the son layout display of system default position on interface, the position with the content of the son layout display drawn of record Whether generation area overlaps;If generation area overlaps, it is laid out by root and adjusts the sub- cloth to be drawn according to presetting rule Position of the office on the interface, so that position of the content of the son layout display to be drawn on the interface, with note The position of content that sub- layout show on the interface not generation area overlap has been drawn in record.
In multiple embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication linkage can be the INDIRECT COUPLINGs or logical of device or module by some interfaces Letter link, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is to realize in the form of software function module and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
It is more than the description to placement position method of adjustment provided by the present invention and device, for the general skill of this area Art personnel, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, to sum up, This specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of placement position method of adjustment, it is characterised in that methods described includes:
Positional information of the content of the son layout display that record has been drawn on interface;
Detect that son to be drawn is laid out the content for showing default position on interface, the son layout drawn with record shows Content position whether generation area overlap;
If generation area overlaps, it is laid out according to the presetting rule adjustment son layout to be drawn on the interface by root Position so that position of the content of the son layout display to be drawn on the interface, the sub- cloth of drafting with record Position of the content of office's display on the interface does not overlap generation area.
2. method according to claim 1, it is characterised in that it is described by root be laid out according to presetting rule adjust described in treat Position of the son layout of drafting on the interface includes:
Size and position according to overlapping region, by son layout to be drawn described in described distributing adjustment on the interface Position so that the position for waiting to draw content that sub- layout shows on the interface downwards or move right it is preset away from From.
3. method according to claim 2, it is characterised in that the size and position according to overlapping region, by institute Position of the son layout to be drawn on the interface described in root distributing adjustment is stated, waits to draw that sub- layout shows is interior so that described Hold the position on the interface downwards or the preset distance that moves right includes:
Obtain size and the position of the overlapping region;
Size and position according to the overlapping region, the son layout display to be drawn is redefined by described layout Content original position so that position of the content of the son layout display to be drawn on the interface is downwards or to the right The movement preset distance;
According to the original position, the son layout to be drawn is drawn.
4. the method according to any one of claims 1 to 3, it is characterised in that described to detect son layout display to be drawn Content on interface default position, with record drawn son layout display content position whether generation area weight Also included before folded:
Described property value of the layout sub- placement position of adjust automatically of the triggering that acquisition pre-sets;
If the property value is ture, the content for detecting son layout display to be drawn default position on interface is performed Put, the step of whether generation area is overlap with the position of content of the son layout display drawn of record.
5. method according to claim 4, it is characterised in that also include after the acquisition property value:
If the property value is false, when display content generation area overlap is detected, by display content according to preset Size carries out diminution and shows, is overlapped with the region produced by eliminating.
6. a kind of placement position adjusting apparatus, it is characterised in that described device includes:
Logging modle, for recording positional information of the content of the son layout display drawn on interface;
Detection module, for detecting that son to be drawn is laid out the content for showing default position on interface, with having painted for record Whether generation area overlaps for the position of the content of the son layout display of system;
Adjusting module, if being overlapped for generation area, is laid out by root and adjusts the sub- cloth to be drawn according to presetting rule Position of the office on the interface, so that position of the content of the son layout display to be drawn on the interface, with note The position of content that sub- layout show on the interface not generation area overlap has been drawn in record.
7. device according to claim 6, it is characterised in that the adjusting module, specifically for according to overlapping region Size and position, by the position of son layout to be drawn described in described distributing adjustment on the interface, so that described treat The son of drafting is laid out position of the content of display on the interface downwards or the preset distance that moves right.
8. device according to claim 7, it is characterised in that described device also includes:Acquisition module and drafting module;
The acquisition module, size and position for obtaining the overlapping region;
The adjusting module, is additionally operable to the size according to the overlapping region and position, and institute is redefined by described layout The original position of the content of son layout display to be drawn is stated, so that the content of the son layout display to be drawn is on the boundary Position on face is downwards or the preset distance that moves right;
The drafting module, for according to the original position, drawing the son layout to be drawn.
9. the device according to any one of claim 6 to 8, it is characterised in that
The acquisition module, is additionally operable to obtain the described property value of layout adjust automatically son layout of triggering for pre-setting;
The detection module, if being additionally operable to the property value for ture, detects the content of son layout display to be drawn on boundary Default position on face, whether generation area is Chong Die with the position of the content of the son layout display drawn of record.
10. device according to claim 9, it is characterised in that described device also includes:
Display module, if being false for the property value, when display content generation area overlap is detected, will show Content carries out diminution and shows according to preset size, to eliminate produced overlap.
CN201611192480.1A 2016-12-21 2016-12-21 Placement position adjusting method and device Pending CN106681586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611192480.1A CN106681586A (en) 2016-12-21 2016-12-21 Placement position adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611192480.1A CN106681586A (en) 2016-12-21 2016-12-21 Placement position adjusting method and device

Publications (1)

Publication Number Publication Date
CN106681586A true CN106681586A (en) 2017-05-17

Family

ID=58870088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611192480.1A Pending CN106681586A (en) 2016-12-21 2016-12-21 Placement position adjusting method and device

Country Status (1)

Country Link
CN (1) CN106681586A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766113A (en) * 2017-10-17 2018-03-06 深圳真时科技有限公司 A kind of method, apparatus and wearable device for showing circular layout interface
CN109582209A (en) * 2018-12-05 2019-04-05 珠海格力电器股份有限公司 A kind of soft keyboard input method of HMI configuration software, HMI configuration software and graphic control panel
WO2019071677A1 (en) * 2017-10-09 2019-04-18 武汉斗鱼网络科技有限公司 Control method and device for control, electronic device and readable storage medium
CN109739501A (en) * 2018-12-18 2019-05-10 北京字节跳动网络技术有限公司 The method, apparatus and electronic equipment of streaming effect are realized in absolute fix layout
CN109920023A (en) * 2019-03-28 2019-06-21 网易(杭州)网络有限公司 The method and apparatus that model is put in a kind of game
CN111338522A (en) * 2020-02-19 2020-06-26 望海康信(北京)科技股份公司 Display interface layout method and device, electronic equipment and storage medium
CN112351436A (en) * 2020-09-23 2021-02-09 温州职业技术学院 Urban WLAN (Wireless local area network) density analysis system
CN113468452A (en) * 2021-09-03 2021-10-01 成都国星宇航科技有限公司 Remote sensing data visual interface interaction method and device and electronic equipment
CN115509664A (en) * 2022-09-26 2022-12-23 江苏锐创软件技术有限公司 Multi-frame large-screen visualization method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963868A (en) * 2005-11-11 2007-05-16 佳能株式会社 Method of performing layout of contents and apparatus for the same
CN101042643A (en) * 2006-03-24 2007-09-26 国际商业机器公司 Method and device for regulating graphical user interface
CN101382887A (en) * 2008-09-19 2009-03-11 金蝶软件(中国)有限公司 Method and apparatus for regulating interface layout
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
US20110148917A1 (en) * 2009-12-17 2011-06-23 Alberth Jr William P Electronic device and method for displaying a background setting together with icons and/or application windows on a display screen thereof
CN103365639A (en) * 2012-03-29 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for adjusting stand-by interface layout
CN105608084A (en) * 2014-11-14 2016-05-25 北大方正集团有限公司 Regulation method and device of webpage page layout

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963868A (en) * 2005-11-11 2007-05-16 佳能株式会社 Method of performing layout of contents and apparatus for the same
CN101042643A (en) * 2006-03-24 2007-09-26 国际商业机器公司 Method and device for regulating graphical user interface
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN101382887A (en) * 2008-09-19 2009-03-11 金蝶软件(中国)有限公司 Method and apparatus for regulating interface layout
US20110148917A1 (en) * 2009-12-17 2011-06-23 Alberth Jr William P Electronic device and method for displaying a background setting together with icons and/or application windows on a display screen thereof
CN103365639A (en) * 2012-03-29 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for adjusting stand-by interface layout
CN105608084A (en) * 2014-11-14 2016-05-25 北大方正集团有限公司 Regulation method and device of webpage page layout

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019071677A1 (en) * 2017-10-09 2019-04-18 武汉斗鱼网络科技有限公司 Control method and device for control, electronic device and readable storage medium
CN107766113A (en) * 2017-10-17 2018-03-06 深圳真时科技有限公司 A kind of method, apparatus and wearable device for showing circular layout interface
CN109582209A (en) * 2018-12-05 2019-04-05 珠海格力电器股份有限公司 A kind of soft keyboard input method of HMI configuration software, HMI configuration software and graphic control panel
CN109739501A (en) * 2018-12-18 2019-05-10 北京字节跳动网络技术有限公司 The method, apparatus and electronic equipment of streaming effect are realized in absolute fix layout
CN109920023A (en) * 2019-03-28 2019-06-21 网易(杭州)网络有限公司 The method and apparatus that model is put in a kind of game
CN109920023B (en) * 2019-03-28 2024-01-26 网易(杭州)网络有限公司 Method and device for placing models in game
CN111338522A (en) * 2020-02-19 2020-06-26 望海康信(北京)科技股份公司 Display interface layout method and device, electronic equipment and storage medium
CN112351436A (en) * 2020-09-23 2021-02-09 温州职业技术学院 Urban WLAN (Wireless local area network) density analysis system
CN113468452A (en) * 2021-09-03 2021-10-01 成都国星宇航科技有限公司 Remote sensing data visual interface interaction method and device and electronic equipment
CN115509664A (en) * 2022-09-26 2022-12-23 江苏锐创软件技术有限公司 Multi-frame large-screen visualization method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106681586A (en) Placement position adjusting method and device
US20200183568A1 (en) Method and System for Sorting Desktop Objects
CN103777947B (en) The management method at the main interface of a kind of mobile terminal and device
CN107273130A (en) Method, device and the terminal for accelerating interface to draw
US20140040797A1 (en) Widget processing method and apparatus, and mobile terminal
CN104360816A (en) Screen capture method and system
CN102855648B (en) A kind of image processing method and device
CN105045485A (en) Screen capture method and mobile terminal
US10838612B2 (en) Apparatus and method for processing drag and drop
CN106649639A (en) Page display method and device
US20170047065A1 (en) Voice-controllable image display device and voice control method for image display device
CN105094520A (en) Display method and terminal
EP2891971A1 (en) Electronic device and method for operating the electronic device
CN103092551A (en) Method and device for adjusting display effect
US9977582B2 (en) Window display method and apparatus of displaying a window using an external input device
CN113918260A (en) Application program display method and device and electronic equipment
CN104423777A (en) Window display method and device
JP6294349B2 (en) Manage tab buttons
CN112596598A (en) Display control method, display control device and electronic equipment
CN106713657A (en) Screen split display method and terminal
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium
CN104571791A (en) Information processing method and electronic equipment
CN114879872A (en) Display method, display device, electronic equipment and storage medium
CN114063845A (en) Display method, display device and electronic equipment
CN113836872A (en) Page diagram object editing method, device, equipment and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517