CN103631484A - Interface control position adjusting method, device and terminal - Google Patents
Interface control position adjusting method, device and terminal Download PDFInfo
- Publication number
- CN103631484A CN103631484A CN201210305172.0A CN201210305172A CN103631484A CN 103631484 A CN103631484 A CN 103631484A CN 201210305172 A CN201210305172 A CN 201210305172A CN 103631484 A CN103631484 A CN 103631484A
- Authority
- CN
- China
- Prior art keywords
- interface
- control
- instruction
- user
- adjustment modes
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Abstract
The invention provides an interface control position adjusting method, device and terminal. When an instruction that a user accesses an adjusting mode is received, an adjusting mode interface is generated and displayed, a control adjusting instruction sent by the user on the adjusting mode interface is received, the initial position and the ending position of the user for adjusting a control are recorded, the new coordinates of the control on a screen are computed according to the initial position and the ending position, layout files corresponding to the current interface are updated with the new coordinates, and when an instruction that a user quits the adjusting mode is received, the current interface is redrawn according to the updated layout files. The problem that according to an existing terminal, the user cannot customize an individual application program interface flexibly, and the terminal cannot be used conveniently is solved. The invention relates to the field of interface design.
Description
Technical field
The present invention relates to interface field, relate in particular to a kind of method, device and terminal of adjusting interface control position.
Background technology
Along with developing rapidly of smart mobile phone and flat board (pad) Terminal Type product, the function of this series products application very extensively, the particularly extensive application of smart mobile phone product in the last few years, its application program is many especially, as online, game, microblogging etc.Increasing application, has brought convenience to our daily life and leisure pastime.
Meanwhile, along with popularizing of capacitive touch screen, the touch-screen mobile phone of different screen size and pad series products also emerge in an endless stream.User's band when using these mobile phones or pad is served problem, single application program is difficult to adapt to mobile phone or the pad of different size size, with a application, being arranged on the effect embodying on the mobile phone of different screen size is not quite similar, particularly on some giant-screen mobile phones or pad, user is when one-handed performance, generally can use thumb to carry out the operation of each function above screen, and now, the touch scope of user's thumb generally can not all cover the scope of whole screen, and local menu outside user's thumb coverage, what when user carries out one-handed performance, can become is very inconvenient.The log-in interface of QQ for example, general Button Login is all the middle that is positioned at terminal screen, in giant-screen terminal, user is when one-handed performance terminal, can not touch this button, fast mobile terminal can only be arrived to the position ability complete operation of button, very inconvenient.That is to say, user cannot be according to the use habit change menu button position of oneself, Application Program Interface that cannot flexible customization personalization.
Summary of the invention
The embodiment of the present invention provides a kind of method, device and terminal of adjusting interface control position, in order to solve the Application Program Interface that existing terminal user cannot flexible customization personalization, uses the problem of terminal inconvenience.
Based on the problems referred to above, a kind of method of adjusting interface control position that the embodiment of the present invention provides, comprising:
What receive that user sends in current interface enters adjustment modes instruction, generates adjustment modes interface and shows;
The instruction of the adjustment control that reception user sends at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
According to described reference position and end position, calculate the new coordinate of described control on screen, use topology file corresponding to current interface described in this new coordinate renew;
When receive that user sends exit adjustment modes instruction time, according to the topology file upgrading, redraw current interface.
A kind of device of adjusting interface control position that the embodiment of the present invention provides, comprising:
Initialization module, enters adjustment modes instruction for what receive that user sends in current interface, generates adjustment modes interface and shows;
Instruction respond module, for receiving the instruction of the adjustment control that user sends at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
Computing module, for calculating the new coordinate of described control on screen according to described reference position and end position;
Update module, for being used topology file corresponding to current interface described in described new coordinate renew;
Redraw module, for when receiving user and exit the instruction at described adjustment modes interface, according to the topology file upgrading, redraw current interface.
A kind of terminal that the embodiment of the present invention provides, comprises the device of the above-mentioned adjustment interface control position that the embodiment of the present invention provides.
The beneficial effect of the embodiment of the present invention comprises:
A kind of method of adjusting interface control position that the embodiment of the present invention provides, device and terminal, when receiving user and enter adjustment modes instruction, according to the topology file of current interface, draw adjustment modes interface, on this adjustment modes interface, monitor each control, when receiving a certain control instruction of choosing of user and dragging control instruction, record the origin coordinates of drag operation, and the termination coordinate that finishes of drag operation, and according to the new coordinate of the original coordinates calculating control of two coordinates of record and this control, upgrade topology file corresponding to this current interface, and according to the topology file upgrading, redraw this current interface when receiving user and exit the instruction of adjustment modes interface.By drawing adjustment modes interface for current interface, and the operation that recording user needs on adjustment modes interface, when user exits this adjustment modes interface, the final effect of user's operation is plotted to current interface, make user can adjust according to individual hobby the arbitrary interface of terminal, solve the Application Program Interface that existing terminal user cannot flexible customization personalization, used the problem of terminal inconvenience.
Accompanying drawing explanation
A kind of process flow diagram of adjusting the method for interface control position that Fig. 1 provides for the embodiment of the present invention;
The display effect figure mono-of the topology file 1 that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 shows that by the word in topology file 1 control drags to coordinate for the process flow diagram of the position of (100,200) for the embodiment of the present invention provides user;
The display effect figure bis-of the topology file 1 that Fig. 4 provides for the embodiment of the present invention;
A kind of structural drawing of adjusting the device of interface control position that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with Figure of description, a kind of embodiment of adjusting method, device and the terminal of interface control position that the embodiment of the present invention is provided describes.
A kind of method of adjusting interface control position that the embodiment of the present invention provides, as shown in Figure 1, specifically comprises the following steps:
S101, receive that user sends in current interface enter adjustment modes instruction, generate adjustment modes interface and show;
The instruction of the adjustment control that S102, reception user send at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
S103, according to described reference position and end position, calculate the new coordinate of described control on screen;
S104, use topology file corresponding to current interface described in this new coordinate renew;
S105, when receive that user sends exit adjustment modes instruction time, according to the topology file upgrading, redraw current interface.
Further, in said method step S101, specifically can comprise: when receive that user sends in current interface enter adjustment modes instruction time, according to the topology file of current interface, draw adjustment modes interface and show.
Further, in said method step S102, specifically can comprise: receive user's drag operation instruction, the origin coordinates of recording user drag operation, and when the releasing operation instruction that receives user, the termination coordinate of recording user drag operation.In the actual application of touch screen terminal, the instruction of the adjustment control that user sends at adjustment modes interface mainly comprises drag operation instruction.
Further, after said method can also receive user's adjustment control instruction in step S102, and receive the instruction that user exits described adjustment modes interface in step S105 before, calculate this control and under adjusting operation, leave after described original coordinates, the coordinate of each position of process; And according to adjusting operation through each position coordinate and adjusted after new coordinate, redraw in real time adjustment modes interface.
In the actual application of touch screen terminal, terminal can be chosen this control to start to drag to from user this control is dragged to destination locations, drag to finish to point and leave touch screen, this whole process that drags is calculated in real time the coordinate of control process and constantly redrawn adjustment modes interface, redraw method and redraw general interface phase together, repeating no more here.
Preferably, in above-mentioned steps S103, can use following formula to calculate the new coordinate of this control after releasing operation completes:
Xn=X0+(end_X-start_X), Yn=Y0+(end_Y – start_Y); Wherein:
(Xn, Yn) is the new coordinate of this control after releasing operation completes, and this new coordinate can be the coordinate of any point on this control, for example, often use the coordinate of control left upper apex as the coordinate of this control;
(X0, Y0) is the original coordinates of this control in topology file, and the position of getting is consistent with new coordinate;
(start_X, start_Y) is the origin coordinates of user's drag operation, is generally that user points the coordinate that touches touch screen while choosing this control in touch screen application;
(end_X, end_Y) is the termination coordinate of user's drag operation, in touch screen application, is generally that user drags to destination locations by this control, coordinate when finger leaves touch screen.
Further, after the step S101 of said method, can also comprise: S106 monitors each control in adjustment modes interface; When monitor that user sends to adjustment modes interface in arbitrary control choose instruction time, to user, send the information that allows to adjust this control.
Preferably, in above-mentioned steps S101, the instruction that enters adjustment modes that reception user sends can be: the length that reception user sends is by the instruction of current interface blank space, or receive the instruction of the adopting consecutive click chemical reaction current interface blank space that user sends, or receive the instruction of the other forms of operation that user sends.
Preferably, in above-mentioned steps S106, receive the instruction of choosing to arbitrary control in adjustment modes interface that user sends, can be:
Receive length that user sends by the instruction of selected control, or the instruction of the selected control of adopting consecutive click chemical reaction that sends of user, or receive the instruction of the other forms of operation that user sends.
Preferably, in above-mentioned steps S106, sending the information that allows to drag this control to user, can be following two kinds of modes:
By selected control is shown as to suspended state, or selected control is shown as to dither state, or at selected control side eject notification frame, or by other forms, to user prompting to arbitrary control in adjustment modes interface choose the corresponding control of instruction, which control points out the control in user-selected is.
Further, before step S104 is used topology file corresponding to the new coordinate renew current interface that has completed the control after adjusting operation calculate, the embodiment of the present invention can also be carried out following step: judge whether this topology file is Default Value, if Default Value, backs up this topology file.
Preferably, can be before each renewal topology file, judge whether this topology file exists backup file (namely having backed up the topology file of Default Value), if existed, carry out follow-up step S105, if do not exist, think that the topology file of current interface is that Default Value now should back up this topology file.Like this, upgrade for the first time this topology file before, the topology file that the topology file of backup is Default Value, and in this topology file of follow-up renewal, the topology file of this backup can exist always, namely preserves the topology file of Default Value always.
Correspondingly, the topology file of backup Default Value can be when recovering to dispatch from the factory when user needs layout setting, specifically, adjustment modes interface in current interface, when terminal receives the instruction by this current interface factory reset that user sends, whether this current interface of terminal judges there is the topology file of backup; If do not exist, the adjustment modes interface that redraws this current interface according to the topology file of this current interface (that is to say, if there is not the topology file of the backup of current interface, illustrate that this topology file was not also updated, be exactly the topology file of Default Value, according to this topology file, redraw the adjustment modes interface of this current interface); If exist, according to backup topology file, redraw the adjustment modes interface of this current interface, delete the topology file of this current interface, and the topology file using backup topology file as this current interface.
In above-mentioned flow process, terminal receive that user sends by the instruction of current interface factory reset, can be:
Terminal is provided with the recovery button in order to factory reset in adjustment modes interface, terminal receive that user is added on by click that the recovery button at the adjustment modes interface of current interface sends by the instruction of current interface factory reset;
Or terminal is provided with recovery option in the master menu at adjustment modes interface, terminal receive user by click that recovery option in the menu at adjustment modes interface of current interface sends by the instruction of current interface factory reset.
A kind of method of adjusting interface control position providing with a concrete example explanation embodiment of the present invention below.
Topology file is as the demonstration foundation of application program, defined content that Application Program Interface shows and the relative position information of each control wherein.Topology file is comprised of topology file ID and one group of control information, and wherein topology file ID is for distinguishing the different topology files under the different interfaces of same application, and control information is the detailed description to control.Control information comprises control ID, control type, length, width, X coordinate, Y coordinate; Control ID is for distinguishing the different controls of same topology file, control type can be button (Button), edit box (Edit Box), text box (TextView) etc., and length, width, X coordinate, Y coordinate have been described size and the display position information in screen of control.Control can also comprise other additional information, such as button control, can add the title of button and icon etc.
For example the code of topology file 1 (layout) is:
<type=layout?id=”main_srceen”>
<type=button?id=”button_ok”width=100height=50X=100Y=600text=”ok”/>
<type=textview?id=”textview_test”width=200height=100X=200Y=200text=”test”/>
<type=button?id=”button_back”width=100height=50X=400Y=600text=”back”/>
</layout>
In above-mentioned topology file 1, type (type) is topology file (layout), the ID of topology file 1 is main screen (main_screen), in topology file 1, comprise three controls, first control type (type) is button (button), the ID of this button control is button_ok, the display width of this button (width) is 100 pixels, highly (height) is 200 pixels, coordinate in screen is (100,600) (here for this reason the coordinate of button left upper apex), the word showing on this button (text) is ok; Second control type (type) is word demonstration (textview), this control ID is textview_text, the display width of this control (width) is 200 pixels, highly (height) is 100 pixels, coordinate in screen is (200,200) word, showing on control (text) is test; The 3rd control type (type) is button (button), the ID of this button control is button_back, the display width of this button (width) is 100 pixels, highly (height) is 200 pixels, coordinate in screen is (400,600) (here for this reason the coordinate of button left upper apex), the word showing on this button (text) is back.
Shown in Fig. 2 is the display effect of topology file 1 correspondence, comprises a word and show control and two button controls in the display effect of topology file 1, and these three controls all show in the drawings according to position and the size of topology file 1 definition.
As shown in Figure 3, user shows that by the word in above-mentioned topology file 1 control drags to coordinate for the flow process of the position of (100,200), comprises the steps:
S301, user press blank space in current interface length as shown in Figure 2;
S302, receive length in S301 by instruction, according to topology file 1, draw adjustment modes interface, monitor three controls in this adjustment modes interface;
S303, user choose word to show control, and long by this control;
S304, receive length in S303 by control instruction, allow this word show that control demonstrates and float effect, take that to notify the control in user-selected be that word shows control, and notify user now can start to have changed the position of this control;
S305, user start to drag word and show that control is to destination locations, and finger is left to touch-screen;
S306, in step S305, the origin coordinates of recording user drag operation (300,300), and the termination coordinate (200,300) of drag operation; And drag in process whole, calculate in real time the coordinate that word shows control, and redraw in real time adjustment modes interface according to this coordinate;
S307, according to the origin coordinates (300,300) of the user's drag operation recording in step S306, and the termination coordinate (200 of drag operation; 300); and word shows that the original coordinates (200,200) of control calculates word and shows that control is by the new coordinate (100,200) after dragging;
S308, judge topology file 1 and do not have backup, backup topology file 1;
S309, according to the new coordinate of the demonstration control calculating in S307, upgrade topology file 1;
S310, user click return key;
S311, exit adjustment modes interface, according to the topology file 1 upgrading, redraw current interface, the current interface after redrawing as shown in Figure 4.
Based on same inventive concept, the embodiment of the present invention also provides a kind of device and terminal of adjusting interface control position, because the principle that these devices are dealt with problems with terminal is similar to the method for aforementioned adjustment interface control position, therefore the enforcement of this device and terminal can, referring to the enforcement of preceding method, repeat part and repeat no more.
The embodiment of the present invention also provides a kind of device of adjusting interface control position, as shown in Figure 5, comprising:
Instruction respond module 502, for receiving the instruction of the adjustment control that user sends at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
Redraw module 505, for when receiving user and exit the instruction at adjustment modes interface, according to the topology file upgrading, redraw current interface.
Further, in said apparatus,
Above-mentioned initialization module 501, specifically for when receive that user sends in current interface enter adjustment modes instruction time, according to the topology file of current interface, draw adjustment modes interface and show;
Above-mentioned instruction respond module 502, specifically for receiving user's drag operation instruction, the origin coordinates of recording user drag operation, and when the releasing operation instruction that receives user, the termination coordinate of recording user drag operation;
Further, in said apparatus,
Above-mentioned computing module 503, also for after above-mentioned instruction respond module 502 receives user's drag operation instruction, in the above-mentioned module 505 that redraws, receive before user exits the instruction of adjustment modes interface, calculate this control and under adjusting operation, leave after its original coordinates, the coordinate of each position of process;
The above-mentioned module 505 that redraws, also for the adjusting operation that calculates according to above-mentioned computing module through the coordinate of each position and the new coordinate of adjusting operation after completing, redraw in real time adjustment modes interface.
Further, said apparatus can further include:
Monitoring modular 506, for monitoring each control at adjustment modes interface; And when monitor that user sends to adjustment modes interface in arbitrary control choose instruction time, to user, send the information that allows to adjust this control.
Recover module 508, for the adjustment modes interface in current interface, while receiving the instruction by this current interface factory reset that user sends, judge whether this current interface exists backup topology file; If do not exist, according to the topology file of this current interface, redraw the adjustment modes interface of this current interface; If exist, according to described backup topology file, redraw the adjustment modes interface of this current interface, delete the topology file of this current interface, and the topology file using this backup topology file as this current interface.
The embodiment of the present invention also provides a kind of terminal, comprises the device of above-mentioned adjustment interface control position.
A kind of method of adjusting interface control position that the embodiment of the present invention provides, device and terminal, when receiving user and enter adjustment modes instruction, according to the topology file of current interface, draw adjustment modes interface, on this adjustment modes interface, monitor each control, when receiving a certain control instruction of choosing of user and dragging control instruction, record the origin coordinates of drag operation, and the termination coordinate that finishes of drag operation, and according to the new coordinate of the original coordinates calculating control of two coordinates of record and this control, upgrade topology file corresponding to this current interface, and according to the topology file upgrading, redraw this current interface when receiving user and exit the instruction of adjustment modes interface.By drawing adjustment modes interface for current interface, and the operation that recording user needs on adjustment modes interface, when user exits this adjustment modes interface, the final effect of user's operation is plotted to current interface, make user can adjust according to individual hobby the arbitrary interface of terminal, solve the Application Program Interface that existing terminal user cannot flexible customization personalization, used the problem of terminal inconvenience.
Through the above description of the embodiments, those skilled in the art can be well understood to the embodiment of the present invention and can realize by hardware, and the mode that also can add necessary general hardware platform by software realizes.Understanding based on such, the technical scheme of the embodiment of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (17)
1. a method of adjusting interface control position, is characterized in that, comprising:
What receive that user sends in current interface enters adjustment modes instruction, generates adjustment modes interface and shows;
The instruction of the adjustment control that reception user sends at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
According to described reference position and end position, calculate the new coordinate of described control on screen, use topology file corresponding to current interface described in this new coordinate renew;
When receive that user sends exit adjustment modes instruction time, according to the topology file upgrading, redraw current interface.
2. the method for claim 1, is characterized in that, what receive that user sends in current interface enters adjustment modes instruction, generates adjustment modes interface and shows, comprising:
When receive that user sends in current interface enter adjustment modes instruction time, according to the topology file of current interface, draw adjustment modes interface and show.
3. the method for claim 1, is characterized in that, receives the instruction of the adjustment control that user sends at adjustment modes interface, and recording user adjusts reference position and the end position of this control, specifically comprises:
Receive user's drag operation instruction, the origin coordinates of recording user drag operation, and when the releasing operation instruction that receives user, the termination coordinate of recording user drag operation.
4. the method for claim 1, is characterized in that, after receiving the adjustment control instruction that user sends, and is receiving before user exits described adjustment modes instruction, also comprises:
Calculate this control and under adjusting operation, leave after its original coordinates, the coordinate of each position of process;
According to adjusting operation through each position coordinate and adjusted after new coordinate, redraw in real time adjustment modes interface.
5. the method for claim 1, is characterized in that,
Use following formula to calculate the new coordinate of control on screen:
Xn=X0+(end_X-start_X),Yn=Y0+(end_Y–start_Y);
Wherein, the new coordinate of (Xn, Yn) this control after adjustment completes, (X0, Y0) is the original coordinates of this control in topology file, and (start_X, start_Y) is described origin coordinates, and (end_X, end_Y) is described termination coordinate.
6. the method as described in claim 1-5 any one, is characterized in that, after generating adjustment modes interface and showing, also comprises:
In adjustment modes interface, monitor each control;
When monitor that user sends to adjustment modes interface in arbitrary control choose instruction time, to user, send the information that allows to adjust this control.
7. method as claimed in claim 6, is characterized in that, the described information that allows to adjust this control of sending to user, comprising:
By selected control is shown as to suspended state, or selected control is shown as to dither state, or at selected control side eject notification frame, to user, points out and described arbitrary control in adjustment modes interface chosen to the corresponding control of instruction.
8. method as claimed in claim 6, is characterized in that, receives the instruction of choosing to arbitrary control in adjustment modes interface that user sends, and is specially:
Receive length that user sends by the instruction of selected control, or the instruction of the selected control of adopting consecutive click chemical reaction that sends of user.
9. the method as described in claim 1-5 any one, is characterized in that, also comprises:
Before topology file corresponding to the new coordinate renew current interface that has completed the control after adjusting that calculates in use, judge whether this topology file is Default Value, if Default Value backs up this topology file;
At adjustment modes interface, while receiving the instruction by this current interface factory reset that user sends, judge whether this current interface exists backup topology file;
If do not exist, according to the topology file of this current interface, redraw this adjustment modes interface;
If exist, according to described backup topology file, redraw adjustment modes interface, delete the topology file of this current interface, and the topology file using described backup topology file as this current interface.
10. method as claimed in claim 9, is characterized in that, receive that user sends by the instruction of current interface factory reset, be specially:
The click that reception user sends is added on the instruction of the recovery button at described adjustment modes interface; Or, the instruction of the recovery option in the menu at the described adjustment modes of the click interface that reception user sends.
11. methods as described in claim 1-5 any one, is characterized in that, receive the adjustment modes instruction that enters that user sends to be:
Receive length that user sends by the instruction of current interface blank space, or receive the instruction of the adopting consecutive click chemical reaction current interface blank space that user sends.
12. 1 kinds of devices of adjusting interface control position, is characterized in that, comprising:
Initialization module, enters adjustment modes instruction for what receive that user sends in current interface, generates adjustment modes interface and shows;
Instruction respond module, for receiving the instruction of the adjustment control that user sends at adjustment modes interface, and recording user is adjusted reference position and the end position of this control;
Computing module, for calculating the new coordinate of described control on screen according to described reference position and end position;
Update module, for being used topology file corresponding to current interface described in described new coordinate renew;
Redraw module, for when receiving user and exit the instruction at described adjustment modes interface, according to the topology file upgrading, redraw current interface.
13. devices as claimed in claim 12, is characterized in that,
Described initialization module, specifically for when receive that user sends in current interface enter adjustment modes instruction time, according to the topology file of current interface, draw adjustment modes interface and show;
Described instruction respond module, specifically for receiving user's drag operation instruction, the origin coordinates of recording user drag operation, and when the releasing operation instruction that receives user, the termination coordinate of recording user drag operation.
14. devices as claimed in claim 13, is characterized in that,
Described computing module, also for after described instruction respond module receives user's drag operation instruction, in the described module that redraws, receive before user exits the instruction of adjustment modes interface, calculate this control and under adjusting operation, leave after its original coordinates, the coordinate of each position of process;
The described module that redraws, also for the adjusting operation that calculates according to described computing module through the coordinate of each position and the new coordinate of adjusting operation after completing, redraw in real time adjustment modes interface.
15. devices as claimed in claim 12, is characterized in that, also comprise:
Monitoring modular, for monitoring each control at adjustment modes interface; And when monitor that user sends to adjustment modes interface in arbitrary control choose instruction time, to user, send the information that allows to adjust this control.
16. devices as claimed in claim 12, is characterized in that, also comprise:
Backup module, for use topology file corresponding to new coordinate renew current interface in described update module before, judges whether this topology file is Default Value, if Default Value backs up this topology file;
Recover module, at adjustment modes interface, while receiving the instruction by this current interface factory reset that user sends, judge whether this current interface exists backup topology file; If do not exist, according to the topology file of this current interface, redraw this adjustment modes interface; If exist, according to described backup topology file, redraw this adjustment modes interface, delete the topology file of this current interface, and the topology file using described backup topology file as this current interface.
17. 1 kinds of terminals, is characterized in that, comprise the device of the adjustment interface control position as described in claim 12-16 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210305172.0A CN103631484A (en) | 2012-08-24 | 2012-08-24 | Interface control position adjusting method, device and terminal |
PCT/CN2013/080291 WO2013185703A1 (en) | 2012-08-24 | 2013-07-29 | Method, device, and terminal for adjusting position of interface control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210305172.0A CN103631484A (en) | 2012-08-24 | 2012-08-24 | Interface control position adjusting method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103631484A true CN103631484A (en) | 2014-03-12 |
Family
ID=49757584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210305172.0A Pending CN103631484A (en) | 2012-08-24 | 2012-08-24 | Interface control position adjusting method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103631484A (en) |
WO (1) | WO2013185703A1 (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955391A (en) * | 2014-05-12 | 2014-07-30 | 上海卓悠网络科技有限公司 | Method and device for configuring interface freely |
CN104636038A (en) * | 2015-01-28 | 2015-05-20 | 桂林长海发展有限责任公司 | Self-drawing system and method for slider |
CN104834521A (en) * | 2015-04-27 | 2015-08-12 | 深圳市金立通信设备有限公司 | Application interface regulating method |
CN104866189A (en) * | 2015-04-27 | 2015-08-26 | 深圳市金立通信设备有限公司 | Terminal |
WO2015131531A1 (en) * | 2014-08-14 | 2015-09-11 | 中兴通讯股份有限公司 | Widget display method, apparatus, and terminal |
CN105068788A (en) * | 2015-07-01 | 2015-11-18 | 浙江宇视科技有限公司 | User work scene fast recovery method and device in video monitoring system |
CN105204873A (en) * | 2014-05-27 | 2015-12-30 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and application interface display method |
CN106033410A (en) * | 2015-03-20 | 2016-10-19 | 广州金山移动科技有限公司 | Object dimension adjusting method |
CN106066790A (en) * | 2016-05-25 | 2016-11-02 | 乐视控股(北京)有限公司 | A kind of method and apparatus that control halation is set |
CN106095250A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | The method of application icon layout and mobile terminal |
CN106126055A (en) * | 2016-06-12 | 2016-11-16 | 乐视控股(北京)有限公司 | operation interface display control method and device |
CN107885421A (en) * | 2016-09-29 | 2018-04-06 | 珠海金山办公软件有限公司 | The change display method and device of a kind of toolbar |
CN108509141A (en) * | 2018-03-30 | 2018-09-07 | 维沃移动通信有限公司 | A kind of generation method and mobile terminal of control |
WO2020125311A1 (en) * | 2018-12-20 | 2020-06-25 | 聚好看科技股份有限公司 | Method and device for displaying multimedia file of smart television, and storage medium |
CN112579078A (en) * | 2019-09-27 | 2021-03-30 | 宝能汽车集团有限公司 | Human-computer interface layout method, multimedia system and vehicle |
CN113467673A (en) * | 2021-05-24 | 2021-10-01 | 康键信息技术(深圳)有限公司 | Mobile terminal interface arrangement method, device, equipment and storage medium |
CN114911549A (en) * | 2021-02-08 | 2022-08-16 | 华为终端有限公司 | Page display method and device and electronic equipment |
CN116107686A (en) * | 2023-04-13 | 2023-05-12 | 福建自贸试验区厦门片区Manteia数据科技有限公司 | Interface processing method and device of medical software, storage medium and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103645906B (en) * | 2013-12-25 | 2018-04-10 | 上海斐讯数据通信技术有限公司 | The method and system that interface is laid out again are realized based on fixed interface layout files |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101390038A (en) * | 2005-12-30 | 2009-03-18 | 苹果公司 | Portable electronic device with interface reconfiguration mode |
US20100062811A1 (en) * | 2008-09-11 | 2010-03-11 | Jun-Serk Park | Terminal and menu display method thereof |
CN101847079A (en) * | 2010-04-30 | 2010-09-29 | 中兴通讯股份有限公司 | Method and device for regulating control button layout |
CN102012783A (en) * | 2010-09-16 | 2011-04-13 | 宇龙计算机通信科技(深圳)有限公司 | Method and terminal for controlling terminal wallpaper |
CN102163129A (en) * | 2011-04-26 | 2011-08-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for implementing icon deformation |
CN102479027A (en) * | 2010-11-24 | 2012-05-30 | 中兴通讯股份有限公司 | Control method and device of application icons on touch screen |
-
2012
- 2012-08-24 CN CN201210305172.0A patent/CN103631484A/en active Pending
-
2013
- 2013-07-29 WO PCT/CN2013/080291 patent/WO2013185703A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101390038A (en) * | 2005-12-30 | 2009-03-18 | 苹果公司 | Portable electronic device with interface reconfiguration mode |
US20100062811A1 (en) * | 2008-09-11 | 2010-03-11 | Jun-Serk Park | Terminal and menu display method thereof |
CN101847079A (en) * | 2010-04-30 | 2010-09-29 | 中兴通讯股份有限公司 | Method and device for regulating control button layout |
CN102012783A (en) * | 2010-09-16 | 2011-04-13 | 宇龙计算机通信科技(深圳)有限公司 | Method and terminal for controlling terminal wallpaper |
CN102479027A (en) * | 2010-11-24 | 2012-05-30 | 中兴通讯股份有限公司 | Control method and device of application icons on touch screen |
CN102163129A (en) * | 2011-04-26 | 2011-08-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for implementing icon deformation |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955391A (en) * | 2014-05-12 | 2014-07-30 | 上海卓悠网络科技有限公司 | Method and device for configuring interface freely |
CN103955391B (en) * | 2014-05-12 | 2017-11-03 | 上海卓悠网络科技有限公司 | A kind of method and apparatus of free configuration interface |
CN105204873A (en) * | 2014-05-27 | 2015-12-30 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and application interface display method |
CN105204873B (en) * | 2014-05-27 | 2019-01-25 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal and application interface display methods |
CN105373301A (en) * | 2014-08-14 | 2016-03-02 | 中兴通讯股份有限公司 | Control display method, control display apparatus, and terminal |
WO2015131531A1 (en) * | 2014-08-14 | 2015-09-11 | 中兴通讯股份有限公司 | Widget display method, apparatus, and terminal |
CN104636038A (en) * | 2015-01-28 | 2015-05-20 | 桂林长海发展有限责任公司 | Self-drawing system and method for slider |
CN104636038B (en) * | 2015-01-28 | 2018-03-09 | 桂林长海发展有限责任公司 | A kind of system and method for painting slider bar certainly |
CN106033410A (en) * | 2015-03-20 | 2016-10-19 | 广州金山移动科技有限公司 | Object dimension adjusting method |
CN106033410B (en) * | 2015-03-20 | 2019-11-26 | 广州金山移动科技有限公司 | A kind of object size method of adjustment |
CN104834521A (en) * | 2015-04-27 | 2015-08-12 | 深圳市金立通信设备有限公司 | Application interface regulating method |
CN104866189A (en) * | 2015-04-27 | 2015-08-26 | 深圳市金立通信设备有限公司 | Terminal |
CN105068788A (en) * | 2015-07-01 | 2015-11-18 | 浙江宇视科技有限公司 | User work scene fast recovery method and device in video monitoring system |
CN106066790A (en) * | 2016-05-25 | 2016-11-02 | 乐视控股(北京)有限公司 | A kind of method and apparatus that control halation is set |
CN106126055A (en) * | 2016-06-12 | 2016-11-16 | 乐视控股(北京)有限公司 | operation interface display control method and device |
CN106095250B (en) * | 2016-07-29 | 2019-12-27 | 维沃移动通信有限公司 | Application icon layout method and mobile terminal |
CN106095250A (en) * | 2016-07-29 | 2016-11-09 | 维沃移动通信有限公司 | The method of application icon layout and mobile terminal |
CN107885421A (en) * | 2016-09-29 | 2018-04-06 | 珠海金山办公软件有限公司 | The change display method and device of a kind of toolbar |
CN108509141A (en) * | 2018-03-30 | 2018-09-07 | 维沃移动通信有限公司 | A kind of generation method and mobile terminal of control |
CN108509141B (en) * | 2018-03-30 | 2020-06-02 | 维沃移动通信有限公司 | Control generation method and mobile terminal |
WO2020125311A1 (en) * | 2018-12-20 | 2020-06-25 | 聚好看科技股份有限公司 | Method and device for displaying multimedia file of smart television, and storage medium |
CN112579078A (en) * | 2019-09-27 | 2021-03-30 | 宝能汽车集团有限公司 | Human-computer interface layout method, multimedia system and vehicle |
CN114911549A (en) * | 2021-02-08 | 2022-08-16 | 华为终端有限公司 | Page display method and device and electronic equipment |
CN113467673A (en) * | 2021-05-24 | 2021-10-01 | 康键信息技术(深圳)有限公司 | Mobile terminal interface arrangement method, device, equipment and storage medium |
CN116107686A (en) * | 2023-04-13 | 2023-05-12 | 福建自贸试验区厦门片区Manteia数据科技有限公司 | Interface processing method and device of medical software, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2013185703A1 (en) | 2013-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103631484A (en) | Interface control position adjusting method, device and terminal | |
CN106415468B (en) | The radial menu user interface kept with inlet point | |
CN109076125B (en) | Display method and device | |
US8924885B2 (en) | Desktop as immersive application | |
CN106095226B (en) | The method and apparatus of application program is run in electric terminal | |
US10417018B2 (en) | Navigation of immersive and desktop shells | |
CN105204744B (en) | Method and device for starting application program and electronic equipment | |
KR102184269B1 (en) | Display apparatus, portable apparatus and method for displaying a screen thereof | |
CN103649902B (en) | Immersive and desktop shell display | |
US20140356843A1 (en) | Portable apparatus and screen displaying method thereof | |
CN104007892A (en) | Method for controlling display of multiple objects depending on input related to operation of mobile terminal, and mobile terminal therefor | |
CN106133826A (en) | For the self-defining flexible modes of language model | |
CN105359121A (en) | Remote operation of applications using received data | |
CN107111494A (en) | Appear the visual representation of common application | |
CN108027695A (en) | Application user interface based on experience mode conversion reconfigures | |
CN108885479A (en) | The touch input of the external display equipment with touch function is supported | |
EP2745890A1 (en) | Multiple sided rotatable control element | |
CN103500232A (en) | Multimedia data sharing method and electronic equipment | |
CN102402391A (en) | Displaying battery life resulting from setting changes | |
CN103123574A (en) | Method and apparatus for inputting character in touch device | |
CN105099871B (en) | notification method and device for instant messaging application | |
US8769169B2 (en) | Assistive buffer usage techniques | |
CN103309547A (en) | Information display method and electronic equipment | |
CN109976605A (en) | Class's board content display method, device and storage medium | |
EP3129868A1 (en) | Expandable application representation, milestones, and storylines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20140312 |