WO2013152556A1 - 一种终端应用程序显示的变动方法及系统 - Google Patents

一种终端应用程序显示的变动方法及系统 Download PDF

Info

Publication number
WO2013152556A1
WO2013152556A1 PCT/CN2012/076850 CN2012076850W WO2013152556A1 WO 2013152556 A1 WO2013152556 A1 WO 2013152556A1 CN 2012076850 W CN2012076850 W CN 2012076850W WO 2013152556 A1 WO2013152556 A1 WO 2013152556A1
Authority
WO
WIPO (PCT)
Prior art keywords
layout file
control
application
new
coordinate
Prior art date
Application number
PCT/CN2012/076850
Other languages
English (en)
French (fr)
Inventor
任龙
张更
张升富
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013152556A1 publication Critical patent/WO2013152556A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of application display technologies, and in particular, to a method and system for changing a terminal application display. Background technique
  • the thumb is generally used to perform various functions on the screen, and at this time, the user's thumb
  • the touch range generally does not cover the entire screen range, and the menu outside the user's thumb coverage becomes very inconvenient when the user performs one-hand operation, such as the user using a 4.3-inch screen.
  • Capacitive touch screen mobile phone in the process of using an application (such as QQ, such as Weibo, such as games) application menu is in the upper left corner of the screen, and the user is generally a right-handed single-handed mobile phone, holding the mobile phone with one hand, Use the right thumb to manipulate the various functions of the app as well as the various menus.
  • the user's thumb In the normal hand mode, the user's thumb has a coverage of 3/4 across the entire screen, while the other 1/4 range cannot be touched. Since the user's thumb cannot cover the entire screen, affecting the smooth operation of the user, the user experience satisfaction is greatly reduced. Summary of the invention
  • An object of the present invention is to provide a method for changing the display of a terminal application to solve the problem that the user cannot conveniently operate the touch screen.
  • the embodiment of the present invention further provides a system for changing the display of the terminal application.
  • an embodiment of the present invention provides a change of a terminal application display.
  • Method including,
  • the operation control portion causes the control to float; the control is moved, and the corresponding position coordinate on the layout file is changed according to the movement position of the control;
  • the application generates a second layout file according to the moved position coordinates of the control
  • the application loads the second layout file and displays it.
  • the step of loading, by the terminal application, the first layout file includes:
  • the new layout file is loaded first. At this time, the new layout file is the first layout file; if there is no new layout file, the original layout file is loaded, and the original layout file is the first A layout file.
  • the step of loading, by the terminal application, the first layout file includes:
  • the terminal starts running the application
  • the program loads the original layout file, and the original layout file is the first layout file.
  • the step of operating the control portion to float the control includes:
  • the terminal application After loading the first layout file, the terminal application triggers a response of the control on the first layout file at a coordinate portion where the control is located, and the control is suspended above the first layout file.
  • step of moving the control and transforming the corresponding position coordinates on the layout file according to the moving position comprises:
  • ffset_Xo represents the X coordinate value of the original control
  • Offset— Yo represents the ⁇ coordinate value of the original control.
  • Offset— ⁇ represents the X coordinate value of the new control.
  • Offset— ⁇ represents the ⁇ coordinate value of the new control.
  • Start—X indicates the X coordinate of the touch screen position when the user presses the control.
  • Start—Y indicates the Y coordinate of the touch screen position when the user presses the control.
  • End—X indicates the X coordinate of the screen position when the user drags the control and releases it.
  • End—Y indicates the coordinates of the screen position when the user drags the control and releases it.
  • Offset— Xn offset— ⁇ + (end— X - startX);
  • Offset— Yn offset— ⁇ + (end— ⁇ - start ⁇ ).
  • step of the application generating the second layout file according to the moved position coordinates of the control comprises:
  • the embodiment of the present invention further provides a change system for displaying a terminal application, comprising: a control operation module, configured to: after the terminal application loads the first layout file, the operation control part causes the control to float;
  • control moving module configured to change a corresponding position coordinate of the control on the layout file according to the movement position of the control when the control is moved;
  • a layout file generating module configured to generate, by the application, a second layout file according to the moved position coordinates of the control
  • a display module configured to load a second layout file by the application and display it.
  • control operation module includes
  • a detecting unit configured to start an application on the terminal, enter a list of layout files of the application itself, and detect a layout file of the system
  • Determining the loading unit which is set to determine whether there is a new layout file, if there is a new layout file, the new layout file is preferentially loaded, and the new layout file is the first layout file; if there is no new layout file, the original layout file is loaded, The original layout file is now the first layout file.
  • control operation module includes
  • a boot unit that is set to start running the application for the terminal
  • a loading unit which is set to load the original layout file by the program, and the original layout file is the first layout file.
  • the user can change the position of the menu button and move it to the thumb.
  • the mobile application control only needs the application software itself to perform corresponding simple processing, without major program changes, and no major changes in hardware. , reduce R&D production costs, improve functional application richness, and improve user experience satisfaction.
  • Figure 1 is a flow chart of a first embodiment of the present invention
  • FIG. 2 is a flow chart showing a manner in which a terminal application loads a first layout file in the first embodiment of the present invention
  • FIG. 3 is a flow chart showing a second method for loading a first layout file by a terminal application in the first embodiment of the present invention
  • Figure 4 is a system configuration diagram of a second embodiment of the present invention. Preferred embodiment of the invention
  • a flowchart of a first embodiment of the present invention provides a method for changing a display of a terminal application. Specifically, the method includes the following steps: Step S101: After the terminal application loads the first layout file, the operation control part moves the control Start
  • each control on the UI interface displayed by the user in the coordinate part where the control is located, triggers the response of the control on the first layout file, and the control is suspended above the first layout file.
  • the terminal application uses a layout file as a basis for displaying the interface.
  • the layout file defines the display content and location information of the interface, wherein the layout file is composed of controls, and the control includes a button, an edit box, and a text. Box (Textview) and so on.
  • the controls in the layout file are stored as a configuration file, and the control contains the following main properties: Offset— X: The X coordinate value displayed by the control on the desktop;
  • Offset— Y The Y coordinate value displayed by the control on the desktop
  • Width the width of the control
  • Height The height of the control.
  • Step S102 moving the control, and transforming the corresponding position coordinates on the layout file according to the moving position;
  • the user moves the control button as needed, and the coordinate movement of the control is always kept following the coordinate of the user's finger.
  • the control button stops at the coordinate position where the finger left.
  • the control button moves to the edge area position and stops moving to ensure that the control position is always within the layout file and does not exceed the layout file range. Accordingly, the control always follows the coordinates of the moving position of the finger on the display while changing its corresponding coordinates on the layout file.
  • the coordinate values involved before and after the control change are as follows.
  • ffset_Xo represents the X coordinate value of the original control
  • Offset— Yo represents the ⁇ coordinate value of the original control.
  • Offset— ⁇ represents the X coordinate value of the new control.
  • Offset— ⁇ represents the ⁇ coordinate value of the new control.
  • Start—X indicates the X coordinate of the touch screen position when the user presses the control.
  • Start—Y indicates the Y coordinate of the touch screen position when the user presses the control.
  • End—X indicates the X coordinate of the screen position when the user drags the control and releases it.
  • End—Y indicates the Y coordinate of the screen position when the user drags the control and releases it.
  • Offset— Xn offset— Xo + (end— X - startX)
  • Offset— Yn offset— Yo + (end— Y - startY)
  • Step S103 the application generates the second layout file according to the moved position coordinates of the control; specifically, due to the user operation, the layout file pattern changes, the coordinate position of each control button on the layout file changes, and the system cannot load and The first layout file is read, so the system must generate a new layout file after the first layout file is changed, that is, the second layout text. Pieces.
  • the so-called re-generation of the layout file is to save the X, Y coordinate values of the new control to the layout file to complete the generation of the second layout file.
  • the system has a second layout file, the first layout file has been modified, and the modified second layout file is different from the first layout file, mainly reflected in the control coordinate position of the layout file, and the step is to set the layout file.
  • the layout file after the control coordinate change performs a re-encapsulation of the generated new second layout file, and replaces or temporarily overwrites the first layout file for the system program call display.
  • Step S104 the application loads the second layout file and displays it.
  • the application reads and loads the second layout file for replacing the first layout file and displays it on the display screen.
  • the change of the layout file is only the change of the coordinates of the control on the layout file, and the trigger commands and functions corresponding to the control are not affected.
  • the terminal application loads the first layout file, as shown in FIG. 2, specifically,
  • Step S201 starting an application on the terminal, entering a layout file list of the application itself, and detecting a layout file of the system;
  • At least two layout files are saved in the application layout file list, including an original layout file created for the application by the application developer, a layout file displayed as an interface when the user does not modify the layout, and a user is detected A new layout file generated after the modification of the interface layout.
  • step S202 it is determined whether there is a new layout file. If there is a new layout file, the new layout file is loaded first. If there is no new layout file, the original layout file is loaded.
  • the system judges the layout file.
  • the program system itself has the original layout file.
  • a new layout file will be generated.
  • the system judges that if there is a new layout file, the new layout file is loaded first.
  • the first layout file if there is no new layout file, the application loads the original layout file, and the original layout file is the first layout file.
  • the terminal application loads the first layout file, specifically For,
  • the terminal starts running the application
  • the program loads the original layout file, and the original layout file is the first layout file.
  • the application loads the original layout file as a first layout file for display.
  • FIG. 4 it is a system structure diagram of a second embodiment of the present invention, which provides a system for changing a terminal application program, including,
  • the control operation module 401 is configured to: after the terminal application loads the first layout file, the operation control part causes the control to float;
  • the control moving module 402 is configured to change a corresponding position coordinate on the layout file according to the movement position of the control when the control is moved;
  • a layout file generating module 403, configured to generate, by the application, a second layout file according to the moved position coordinates of the control;
  • the display module 404 is configured to load the second layout file by the application and display it.
  • control operation module specifically includes
  • the detecting unit is configured to start an application on the terminal, enter a layout file list of the application itself, and detect a layout file of the system;
  • Judging the loading unit setting to determine whether there is a new layout file, if there is a new layout file, the new layout file is preferentially loaded, and the new layout file is the first layout file; if there is no new layout file, the original layout file is loaded, The original layout file is the first layout file.
  • control operation module specifically includes
  • Load unit set to load the original layout file, the original layout file is the first layout file.
  • the user can change the position of the menu button and move it to the thumb coverage, which greatly facilitates the user's use and improves the user experience satisfaction; and the mobile application control only needs the application software itself to perform correspondingly.
  • the simple processing, without major program changes, does not require major changes in hardware, reduces R&D production costs, improves functional application richness, and improves user experience satisfaction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种终端应用程序显示的变动方法和系统,该方法包括:终端应用程序加载第一布局文件后,操作控件部位使控件浮起;对控件进行移动,并根据控件移动位置变化其在布局文件上的相应位置坐标;应用程序根据移动后的控件位置坐标生成第二布局文件;应用程序加载第二布局文件,并进行显示。

Description

一种终端应用程序显示的变动方法及系统
技术领域
本发明涉及应用程序显示技术领域, 特别地涉及一种终端应用程序显示 的变动方法及系统。 背景技术
随着智能手机以及掌上电脑(pad )类终端产品的迅速发展, 人们对该类 产品的功能应用已经非常的广泛,特别是近些年来智能手机产品的大量应用, 其应用程序更是非常之多, 无论是上网、 游戏、 微博等, 给我们的日常生活 和休闲消遣带来了极大的方便。 目前越来越多大屏幕手机或者 pad产品的出 现, 特别是电容式触摸屏更是当前智能终端的必选功能。
而随着手机屏幕的变大, 用户在单手操作中经常会遇到一个问题, 单手 握持手机时, 一般会使用大拇指进行屏幕上面各个功能的操作, 而此时, 用 户大拇指的触摸范围一般并不能将整个屏幕的范围全部覆盖, 而在用户大拇 指覆盖范围之外的地方的菜单, 在用户进行单手操作的时候会变的非常不方 便, 如用户使用一款 4.3 英寸屏幕的电容式触摸屏手机, 在使用某一应用程 序过程中(比如 QQ、比如微博, 比如游戏)应用程序菜单处于屏幕的左上角, 而该用户一般为右手单手持手机, 单手握住手机, 使用右手大拇指操作应用 程序各个功能以及各个菜单, 而正常的手握方式, 该用户大拇指在整个屏幕 的覆盖范围为 3/4, 而其他 1/4的范围无法触摸到。 由于用户大拇指无法覆盖 整个屏幕, 影响用户的顺利操作, 大大降低了用户体验满意度。 发明内容
本发明实施例的目的在于提供一种终端应用程序显示的变动方法, 以解 决用户无法方便操作触摸屏的问题; 同时本发明实施例还提供了一种终端应 用程序显示的变动系统。
为解决上述技术问题, 本发明实施例提供了一种终端应用程序显示的变 动方法, 包括,
终端应用程序加载第一布局文件后, 操作控件部位使控件浮起; 对控件进行移动, 并根据控件移动位置变化其在布局文件上的相应位置 坐标;
应用程序才艮据移动后的控件位置坐标生成第二布局文件;
应用程序加载第二布局文件, 并进行显示。
可选地, 所述终端应用程序加载第一布局文件的步骤包括:
在终端上启动应用程序, 进入应用程序自身的布局文件列表, 检测系统 的布局文件;
判断是否存在新型布局文件, 若存在新型布局文件, 则优先加载新型布 局文件, 此时新型布局文件为第一布局文件; 若没有新型布局文件, 则加载 原始布局文件, 此时原始布局文件为第一布局文件。
可选地, 所述终端应用程序加载第一布局文件的步骤包括:
终端启动运行应用程序;
程序加载原始布局文件, 此时原始布局文件为第一布局文件。
上述的方法, 其中, 所述终端应用程序加载第一布局文件后, 操作控件 部位使控件浮起的步骤包括:
所述终端应用程序加载第一布局文件后, 在其控件所处坐标部位, 触发 控件在第一布局文件上的响应, 控件悬浮于第一布局文件上方。
上述的方法, 其中, 所述对控件进行移动, 并根据移动位置变换其在布 局文件上的相应位置坐标的步骤包括:
若控件移动位置变化前后的坐标值如下,
ffset_Xo表示原始控件的 X坐标值,
offset— Yo表示原始控件的 Υ坐标值,
offset— Χη表示新控件的 X坐标值,
offset— Υη表示新控件的 Υ坐标值,
start— X表示用户按下控件时触摸屏幕位置的 X坐标,
start— Y表示用户按下控件时触摸屏幕位置的 Y坐标,
end— X表示用户拖动控件并释放时屏幕位置的 X坐标, end— Y表示用户拖动控件并释放时屏幕位置的 Υ坐标,
则计算出的新控件的坐标 offset— Χη和 offset— Υη值为:
offset— Xn = offset— Χο + (end— X - startX);
offset— Yn = offset— Υο + (end— Υ - start Υ)。
上述的方法, 其中, 当用户移动控件超出显示屏边缘区域时, 则控件移 动至边缘区域后停止继续移动。
上述的方法, 其中, 应用程序才艮据移动后的控件位置坐标生成第二布局 文件的步骤包括:
保存新控件的 X、 Υ坐标值并进行重新封装生成第二布局文件。
本发明实施例还提供了一种终端应用程序显示的变动系统, 包括, 控件操作模块, 其设置为在终端应用程序加载第一布局文件后, 操作控 件部位使控件浮起;
控件移动模块, 其设置为在对控件进行移动时, 根据控件移动位置变化 其在布局文件上的相应位置坐标;
布局文件生成模块, 其设置为应用程序根据移动后的控件位置坐标生成 第二布局文件; 以及
显示模块, 其设置为应用程序加载第二布局文件, 并进行显示。
可选地, 所述控件操作模块包括,
检测单元, 其设置为在终端上启动应用程序, 进入应用程序自身的布局 文件列表, 检测系统的布局文件; 以及
判断加载单元, 其设置为判断是否存在新型布局文件, 若存在新型布局 文件, 则优先加载新型布局文件, 此时新型布局文件为第一布局文件; 若没 有新型布局文件, 则加载原始布局文件, 此时原始布局文件为第一布局文件。
可选地, 所述控件操作模块包括,
启动单元, 其设置为终端启动运行应用程序; 以及
加载单元, 其设置为程序加载原始布局文件, 此时原始布局文件为第一 布局文件。 釆用上述技术方案, 使得用户可以更改菜单按钮位置, 将其移动到拇指 覆盖范围之内, 大大的方便用户的使用, 提高用户体验满意度; 并且移动应 用程序控件只需要应用程序软件本身进行相应的简单处理, 无需很大的程序 变动, 也无需硬件做很大的变化, 降低了研发生产成本, 提高功能应用丰富 性, 提高用户体验满意度。 附图概述
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本发明 的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本 发明的不当限定。 在附图中:
图 1是本发明第一实施例流程图;
图 2是本发明第一实施例中终端应用程序加载第一布局文件方式一流程 图;
图 3是本发明第一实施例中终端应用程序加载第一布局文件方式二流程 图;
图 4是本发明第二实施例系统结构图。 本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情 况下, 本申请中的实施例及实施例中的特征可以相互任意组合。 如图 1所示, 是本发 明第一实施例流程图, 提供了一种终端应用程序显示的变动方法, 具体包括, 步骤 S101 , 终端应用程序加载第一布局文件后, 操作控件部位使控件浮 起;
作为一个实施例, 用户对应用程序显示的 UI界面上的各个控件, 在其控 件所处坐标部位, 触发控件在第一布局文件上的响应, 控件悬浮于第一布局 文件上方。
终端应用程序使用布局(layout )文件作为界面显示的依据, 布局文件中 规定了界面的显示内容及位置信息, 其中布局文件由控件组成, 控件包括按 钮 (Button)、 编辑框 (Edit Box)、 文本框 (Textview)等。
布局文件中控件以配置文件的方式存储, 控件包含以下主要属性: offset— X: 控件在桌面上显示的 X坐标值;
offset— Y: 控件在桌面上显示的 Y坐标值;
width: 控件的宽度;
height: 控件的高度。
步骤 S102, 对控件进行移动, 并根据移动位置变换其在布局文件上的相 应位置坐标;
具体地, 用户根据需要对控件按钮进行移动, 控件坐标移动始终保持跟 随用户手指坐标移动。 当用户手指离开显示屏, 控件按钮停止在手指离开时 刻的坐标位置。 当用户手指移动至显示屏边缘区域时, 则控件按钮移动至边 缘区域位置停止继续移动, 以保证控件位置始终处于布局文件内, 不会超出 布局文件范围。 相应地, 控件始终跟随手指在显示屏上的移动位置坐标而同 时变化其在布局文件上的相应坐标。
具体地, 控件变化前后的涉及到的坐标值如下,
ffset_Xo表示原始控件的 X坐标值,
offset— Yo表示原始控件的 Υ坐标值,
offset— Χη表示新控件的 X坐标值,
offset— Υη表示新控件的 Υ坐标值,
start— X表示用户按下控件时触摸屏幕位置的 X坐标,
start— Y表示用户按下控件时触摸屏幕位置的 Y坐标,
end— X表示用户拖动控件并释放时屏幕位置的 X坐标,
end— Y表示用户拖动控件并释放时屏幕位置的 Y坐标,
根据用户长按并拖动的距离重新计算出控件新的坐标 offset— Xn 和 offset— Yn值为:
offset— Xn = offset— Xo + (end— X - startX)
offset— Yn = offset— Yo + (end— Y - startY)
步骤 S103 , 应用程序才艮据移动后的控件位置坐标生成第二布局文件; 具体地, 由于用户操作, 导致布局文件格局发生变化, 布局文件上各个 控件按钮坐标位置发生改变, 而系统不能加载和读取第一布局文件, 所以系 统必须在第一布局文件发生改变之后生成一个新型布局文件, 即第二布局文 件。 所谓重新生成布局文件, 就是保存新控件的 X、 Y坐标值至布局文件中 的即可完成第二布局文件的生成。
系统存在第二布局文件, 第一布局文件已经被修改, 而修改后的第二布 局文件与第一布局文件有不同之处 ,主要体现在布局文件的控件坐标位置上, 该步骤是将布局文件控件坐标变化之后的布局文件进行重新封装生成的新的 第二布局文件, 并替换或者暂时覆盖第一布局文件, 用于系统程序调用显示。
步骤 S104, 应用程序加载第二布局文件, 并进行显示。
根据生成的第二布局文件, 保存在系统临时存储位置中, 应用程序读取 和加载第二布局文件用于替换第一布局文件, 并将其显示在显示屏上。
布局文件的改变, 只是布局文件上控件坐标的变化, 控件所对应的触发 命令和功能不受影响。 上述方法实施例中, 所述终端应用程序加载第一布局文件, 如图 2所示, 具体为,
步骤 S201 ,在终端上启动应用程序,进入应用程序自身的布局文件列表, 检测系统的布局文件;
应用程序布局文件列表中保存有至少两个布局文件, 包括一个为应用程 序开发者为应用程序创建的原始布局文件, 在用户未对布局进行修改时作为 界面显示的布局文件, 以及在检测到用户对界面布局进行修改后的生成的新 型布局文件。
步骤 S202, 判断是否存在新型布局文件, 若存在新型布局文件, 则优先 加载新型布局文件, 若没有新型布局文件, 则加载原始布局文件。
系统判断布局文件, 程序系统本身拥有原始布局文件, 当系统布局文件 本修改之后会生成新型布局文件, 此处系统经过判断, 如果存在新型布局文 件, 则优先加载新型布局文件, 此时新型布局文件为第一布局文件; 如果没 有新型布局文件, 则应用程序加载原始布局文件, 此时原始布局文件为第一 布局文件。 或者, 上述方法实施例中, 所述终端应用程序加载第一布局文件, 具体 为,
5301 , 终端启动运行应用程序;
5302, 程序加载原始布局文件, 此时原始布局文件为第一布局文件。 具体, 应用程序加载原始布局文件作为第一布局文件进行显示。 如图 4所示, 是本发明第二实施例系统结构图, 提供了一种终端应用程 序显示的变动系统, 包括,
控件操作模块 401 , 设置为在终端应用程序加载第一布局文件后, 操作 控件部位使控件浮起;
控件移动模块 402 , 设置为在对控件进行移动时, 根据控件移动位置变 化其在布局文件上的相应位置坐标;
布局文件生成模块 403 , 设置为应用程序根据移动后的控件位置坐标生 成第二布局文件;
显示模块 404, 设置为应用程序加载第二布局文件, 并进行显示。
上述实施例中, 所述控件操作模块具体包括,
检测单元, 设置为在终端上启动应用程序, 进入应用程序自身的布局文 件列表, 检测系统的布局文件;
判断加载单元, 设置为判断是否存在新型布局文件, 若存在新型布局文 件, 则优先加载新型布局文件, 此时新型布局文件为第一布局文件; 若没有 新型布局文件, 则加载原始布局文件, 此时原始布局文件为第一布局文件。 或者,
在上述实施例中, 所述控件操作模块具体包括,
启动单元, 设置为终端启动运行应用程序;
加载单元, 设置为程序加载原始布局文件, 此时原始布局文件为第一布 局文件。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
需要说明的是, 本发明还可有其他多种实施例, 在不背离本发明精神及 和变形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范 围。 工业实用性
釆用上述技术方案, 使得用户可以更改菜单按钮位置, 将其移动到拇指 覆盖范围之内, 大大的方便用户的使用, 提高用户体验满意度; 并且移动应 用程序控件只需要应用程序软件本身进行相应的简单处理, 无需很大的程序 变动, 也无需硬件做很大的变化, 降低了研发生产成本, 提高功能应用丰富 性, 提高用户体验满意度。

Claims

权 利 要 求 书
1、 一种终端应用程序显示的变动方法, 其包括,
终端应用程序加载第一布局文件后, 操作控件部位使控件浮起; 对控件进行移动, 并根据控件移动位置变化其在布局文件上的相应位置 坐标;
应用程序才艮据移动后的控件位置坐标生成第二布局文件;
应用程序加载第二布局文件, 并进行显示。
2、 根据权利要求 1所述的方法, 其中, 所述终端应用程序加载第一布局 文件的步骤包括:
在所述终端上启动应用程序, 进入应用程序自身的布局文件列表, 检测 系统的布局文件;
判断是否存在新型布局文件, 若存在新型布局文件, 则优先加载新型布 局文件, 此时新型布局文件为第一布局文件; 若没有新型布局文件, 则加载 原始布局文件, 此时原始布局文件为第一布局文件。
3、 根据权利要求 1所述的方法, 其中, 所述终端应用程序加载第一布局 文件的步骤包括:
终端启动运行应用程序;
程序加载原始布局文件, 此时原始布局文件为第一布局文件。
4、 根据权利要求 1至 3任一所述的方法, 其中, 所述终端应用程序加载 第一布局文件后, 操作控件部位使控件浮起的步骤包括:
所述终端应用程序加载第一布局文件后, 在其控件所处坐标部位, 触发 控件在第一布局文件上的响应, 控件悬浮于第一布局文件上方。
5、 根据权利要求 4所述的方法, 其中, 所述对控件进行移动, 并根据移 动位置变换其在布局文件上的相应位置坐标的步骤包括:
若控件移动位置变化前后的坐标值如下表示:
ffset_Xo表示原始控件的 X坐标值, offset— Yo表示原始控件的 Υ坐标值,
offset— Χη表示新控件的 X坐标值,
offset— Υη表示新控件的 Υ坐标值,
start— X表示用户按下控件时触摸屏幕位置的 X坐标,
start— Y表示用户按下控件时触摸屏幕位置的 Y坐标,
end— X表示用户拖动控件并释放时屏幕位置的 X坐标,
end— Y表示用户拖动控件并释放时屏幕位置的 Y坐标,
则计算出的新控件的坐标 offset— Xn和 offset— Yn值为:
offset— Xn = offset— Χο + (end— X - startX);
offset— Yn = offset— Yo + (end— Y - startY)。
6、 根据权利要求 5所述的方法, 其还包括: 当用户移动控件超出显示屏 边缘区域时, 则控件移动至边缘区域后停止继续移动。
7、 根据权利要求 5或 6所述的方法, 其中, 所述应用程序根据移动后的 控件位置坐标生成第二布局文件的步骤包括:
保存新控件的 X、 Y坐标值并进行重新封装生成第二布局文件。
8、 一种终端应用程序显示的变动系统, 其包括,
控件操作模块, 其设置为: 在终端应用程序加载第一布局文件后, 操作 控件部位使控件浮起;
控件移动模块, 其设置为: 在对控件进行移动时, 根据控件移动位置变 化其在布局文件上的相应位置坐标;
布局文件生成模块, 其设置为: 应用程序根据移动后的控件位置坐标生 成第二布局文件; 以及 显示模块, 其设置为: 应用程序加载第二布局文件, 并进行显示。
9、 根据权利要求 8所述的系统, 其中, 所述控件操作模块包括: 检测单元, 其设置为: 在终端上启动应用程序, 进入应用程序自身的布 局文件列表, 检测系统的布局文件; 以及
判断加载单元, 其设置为: 判断是否存在新型布局文件, 若存在新型布 局文件, 则优先加载新型布局文件, 此时新型布局文件为第一布局文件; 若 没有新型布局文件, 则加载原始布局文件, 此时原始布局文件为第一布局文 件。
10、 根据权利要求 8所述的系统, 其中, 所述控件操作模块包括: 启动单元, 其设置为: 在终端上启动运行应用程序; 以及 加载单元, 其设置为: 程序加载原始布局文件, 此时原始布局文件为第 一布局文件。
PCT/CN2012/076850 2012-04-11 2012-06-13 一种终端应用程序显示的变动方法及系统 WO2013152556A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210104855.X 2012-04-11
CN201210104855XA CN103365532A (zh) 2012-04-11 2012-04-11 一种终端应用程序显示的变动方法及系统

Publications (1)

Publication Number Publication Date
WO2013152556A1 true WO2013152556A1 (zh) 2013-10-17

Family

ID=49327033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/076850 WO2013152556A1 (zh) 2012-04-11 2012-06-13 一种终端应用程序显示的变动方法及系统

Country Status (2)

Country Link
CN (1) CN103365532A (zh)
WO (1) WO2013152556A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047184A1 (zh) * 2017-09-08 2019-03-14 广东欧珀移动通信有限公司 信息显示方法、装置及终端

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664192B (zh) * 2013-12-20 2021-06-04 青岛海信移动通信技术股份有限公司 一种应用于触摸屏界面上的业务显示方法及装置
CN105094774A (zh) * 2014-05-13 2015-11-25 大唐软件技术股份有限公司 一种终端系统界面的展示方法和装置
CN105335118B (zh) * 2014-08-08 2019-03-19 北京搜狗科技发展有限公司 一种电子设备控件的显示方法和装置
CN105373301A (zh) * 2014-08-14 2016-03-02 中兴通讯股份有限公司 控件显示方法、装置及终端
CN104407876B (zh) * 2014-12-15 2018-07-13 北京国双科技有限公司 显示标注控件的方法及装置
CN104572223B (zh) * 2015-02-03 2017-11-24 上海卓易科技股份有限公司 一种桌面图标的整理方法及装置
WO2016131207A1 (zh) * 2015-02-16 2016-08-25 锤子软件(北京)有限公司 一种控制方法、控制装置及电子设备
CN108121584A (zh) * 2017-12-20 2018-06-05 北京酷我科技有限公司 一种从右到左显示的方法
CN114911549A (zh) * 2021-02-08 2022-08-16 华为终端有限公司 一种页面显示方法、装置和电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101390038A (zh) * 2005-12-30 2009-03-18 苹果公司 具有界面重配置模式的便携式电子设备
CN101840299A (zh) * 2010-03-18 2010-09-22 华为终端有限公司 一种触摸操作方法、装置和移动终端
CN101847079A (zh) * 2010-04-30 2010-09-29 中兴通讯股份有限公司 调整控件按钮布局的方法和装置
US20110009195A1 (en) * 2009-07-08 2011-01-13 Gunjan Porwal Configurable representation of a virtual button on a game controller touch screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI374382B (en) * 2008-09-01 2012-10-11 Htc Corp Icon operation method and icon operation module
CN101894199A (zh) * 2009-05-20 2010-11-24 灰熊(北京)科技有限公司 一种在棋牌类游戏中实现自定义用户操作习惯的方法
CN101645948B (zh) * 2009-09-04 2012-08-29 惠州Tcl移动通信有限公司 一种键盘调整的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101390038A (zh) * 2005-12-30 2009-03-18 苹果公司 具有界面重配置模式的便携式电子设备
US20110009195A1 (en) * 2009-07-08 2011-01-13 Gunjan Porwal Configurable representation of a virtual button on a game controller touch screen
CN101840299A (zh) * 2010-03-18 2010-09-22 华为终端有限公司 一种触摸操作方法、装置和移动终端
CN101847079A (zh) * 2010-04-30 2010-09-29 中兴通讯股份有限公司 调整控件按钮布局的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047184A1 (zh) * 2017-09-08 2019-03-14 广东欧珀移动通信有限公司 信息显示方法、装置及终端
US11194598B2 (en) 2017-09-08 2021-12-07 Shenzhen Heytap Technology Corp., Ltd. Information display method, terminal and storage medium

Also Published As

Publication number Publication date
CN103365532A (zh) 2013-10-23

Similar Documents

Publication Publication Date Title
WO2013152556A1 (zh) 一种终端应用程序显示的变动方法及系统
US11054988B2 (en) Graphical user interface display method and electronic device
KR102020345B1 (ko) 터치스크린을 구비하는 단말에서 홈 화면의 구성 방법 및 장치
JP5694719B2 (ja) 携帯端末、ロック状態解除プログラムおよびロック状態解除方法
WO2018157662A1 (zh) 一种移动终端的显示控制方法及移动终端
TWI384394B (zh) 操作使用者介面的方法
KR101229699B1 (ko) 애플리케이션 간의 콘텐츠 이동 방법 및 이를 실행하는 장치
WO2016078441A1 (zh) 图标管理的方法、装置及终端
KR101974852B1 (ko) 터치스크린을 가진 단말에서 오브젝트 이동 방법 및 장치
US20130201131A1 (en) Method of operating multi-touch panel and terminal supporting the same
KR102251834B1 (ko) 전자 장치의 디스플레이 방법
JP4741983B2 (ja) 電子機器及び電子機器の動作方法
WO2017113379A1 (zh) 一种用户界面的菜单显示方法及手持终端
KR20130093043A (ko) 터치 및 스와이프 내비게이션을 위한 사용자 인터페이스 방법 및 모바일 디바이스
KR20110045138A (ko) 터치스크린 기반의 ui 제공방법 및 이를 이용한 휴대 단말기
WO2012110989A1 (en) Method, apparatus and computer program product for integrated application and task manager display
TWI533196B (zh) 虛擬按鈕的顯示方法及其電子裝置與電腦程式產品
JP5814821B2 (ja) 携帯端末装置、プログラムおよび画面制御方法
KR20140033839A (ko) 터치스크린을 구비한 단말에서 한 손을 이용한 사용자 인터페이스 방법 및 장치
KR20140089224A (ko) 터치 입력에 기초하여 동작을 실행하는 디바이스 및 동작 실행 방법
KR20140040401A (ko) 한 손 제어 모드를 제공하기 위한 방법 및 그 전자장치
EP2975508A1 (en) Display control
KR101385625B1 (ko) 터치 프로세스를 처리하는 방법, 장치 및 기록매체
EP3528103B1 (en) Screen locking method, terminal and screen locking device
CN111831196B (zh) 折叠屏幕的控制方法、终端设备以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12874193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12874193

Country of ref document: EP

Kind code of ref document: A1