发明名称 DYNAMIC LAYOUT METHOD AND SYSTEM BASED ON ANDROID
摘要 A dynamic layout method and system based on Android, the method comprising: acquiring permission parameters of a current user for functions of an application to be laid; according to the permission parameters of the current user, determining executable functions that can be executed, so as to acquire attribute parameters corresponding to the executable functions, wherein the attribute parameters comprise display positions, names and icons of the functions; according to the attribute parameters of the executable functions, generating view units, and determining the display order of the view units; and determining reserved positions of the view units on a main interface of the application to be laid, and adding the view units on the main interface according to the display order. According to the method, the interface is flexibly and dynamically laid by configuring the attribute parameters of the functions, so that function layout modules are separated from the main interface, thereby meeting the requirements for lightweight design; and when the attribute parameters are configured, the display position of the functions is set, thereby avoiding the need for a logical code to determine layout, and reducing the complexity of interface layout.
申请公布号 WO2016201813(A1) 申请公布日期 2016.12.22
申请号 WO2015CN90183 申请日期 2015.09.21
申请人 ZTE CORPORATION 发明人 ZHOU, Bin
分类号 G06F3/0481;G06F9/44 主分类号 G06F3/0481
代理机构 代理人
主权项
地址