发明名称 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 according to a resolution of an initial screen, 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, wherein the first interface is defined as a container of one of the at least one 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. Thereafter, draw the second view on the target screen.
申请公布号 WO2014094628(A1) 申请公布日期 2014.06.26
申请号 WO2013CN89929 申请日期 2013.12.19
申请人 TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED 发明人 ZHANG, JIANQIANG;LUO, CHUNHUA;TIAN, YU;GUO, CHENG;HE, ZHIQIANG
分类号 G06F3/048 主分类号 G06F3/048
代理机构 代理人
主权项
地址