View component layout method and system

A layout method and component technology, applied in the direction of program control device, user interface execution, etc., can solve the problem of low efficiency of the layout method, and achieve the effect of improving efficiency

Inactive Publication Date: 2018-07-27
ALIBABA GRP HLDG LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a view component layout method an

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • View component layout method and system
  • View component layout method and system
  • View component layout method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0058] The embodiments of the present application provide a layout method and system for view components.

[0059] In order to enable those skilled in the art to better understand the technical solutions in the application, the following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Obviously, the described The embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

[0060] Regardless of the operating system (such as Android, iOS, Windows), the layout container is provided so that the installed client base uses the layout container to execute the layout of the view component (view) in the UI, and the UI binds the la...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a view component layout method and system. In the embodiment, a mapping relation between identification of view components and layout strategies is set in a client side, the client side only needs to determine the layout strategy corresponding to the identification of the first view component according to the identification of the first view component in atarget area currently needing layout and according to the mapping relation between the identification of the view components and the layout strategies, and the determined layout strategy is the layout strategy of a layout area which the first view component belongs to. In this way, different layout logics (the layout strategies are instantiation of the layout logics) can be sequentially obtainedin all layout areas through multiple times of layout. By means of the method, the layout structure of the view components in a UI is flattened, and the efficiency of view layout executed by the clientside is improved.

Description

technical field [0001] The present application relates to the field of software technology, in particular to a layout method and system for view components. Background technique [0002] A user interface (User Interface, UI) of the client is an object operated by the user when the user interacts with the client. The UI is composed of view components (views). The client layouts the views in the UI according to different layout logics, and can implement different UI styles. Generally speaking, the operating system provides a layout container, and the client uses the layout container to lay out the views of the UI. The so-called layout container is essentially a view component group (viewgroup), which is used to implement specific layout logic layout for the views it contains. It is worth noting that a viewgroup (including layout container) can only be bound to one layout logic. [0003] The existing view layout method is to implement the layout logic of multiple views in th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/451
Inventor 高巍洪小龙黄宇
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products