发明名称 |
METHOD OF IMPLEMENTING SCREEN ADAPTATION FOR OWNER-DRAWN ELEMENTS AND APPARATUS |
摘要 |
A method of implementing screen adaptation for an owner-drawn element and a corresponding apparatus are provided. In the method, at least one owner-drawn element is arranged, and a first view adapted to the initial screen is obtained. Then, determine an adaptation interface of the first interface according to a resolution of a target screen, and define a corresponding container for each owner-drawn element arranged on the first interface. Obtain at least one margin of each owner-drawn element relative to a corresponding container, and set the attribute of the at least one margin as a fixed margin or a zoomed margin. Zoom the first interface according to the size of the adaptation interface, and adjust the owner-drawn element arranged on the first interface according to the margin attributes of the owner-drawn element relative to its corresponding container, in order to obtain a second view. |
申请公布号 |
EP2936289(A4) |
申请公布日期 |
2016.02.10 |
申请号 |
EP20130864610 |
申请日期 |
2013.12.19 |
申请人 |
TENCENT TECHNOLOGY (SHENZHEN) CO., LTD |
发明人 |
ZHANG, JIANQIANG;LUO, CHUNHUA;TIAN, YU;GUO, CHENG;HE, ZHIQIANG |
分类号 |
G06F3/0484;G06F9/44 |
主分类号 |
G06F3/0484 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|