Unlock instant, AI-driven research and patent intelligence for your innovation.

Mobile control method and system for grid view control

A control method, grid technology, applied in the computer field

Active Publication Date: 2020-12-11
TCL CORPORATION
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a mobile control method and system for a grid view control in view of the problem that the existing grid view control can only scroll bidirectionally in a specific symmetrical direction

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
  • Mobile control method and system for grid view control
  • Mobile control method and system for grid view control
  • Mobile control method and system for grid view control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 It shows the movement control method of the grid view control in this embodiment. like figure 1 As shown, the movement control methods of the grid view control include:

[0056] S10: Initialize and configure the width and height of the grid container and the data set; the width and height of the grid container limit the screen display range of the grid container; the data set includes N*M data blocks (Blocks) arranged in a two-dimensional array structure. like Figure 3-Figure 7 As shown, the data set (Adapter) in this embodiment is placed with 5*4 data blocks arranged in a two-dimensional array structure, and the width of each data block is preset as the unit width, and the height of each data block as the unit high. By initializing the width and height (i.e. width and height) of the configuration grid container (GridView), the screen display range of the grid container (GridView) can be limited, and the width and height of the grid container in this embod...

Embodiment 2

[0074] Figure 8 with Figure 9 Shows the mobile control system for the grid view control in this embodiment. Such as figure 1 As shown, the mobile control system of the grid view control includes:

[0075] The initial configuration unit 10 is used to initialize and configure the width and height of the grid container and the data set; the width and height of the grid container define the screen display range of the grid container; the data set includes N*M data arranged in a two-dimensional array structure Block. Such as Figure 3-Figure 7 As shown, the data set (Adapter) in this embodiment is placed with 5*4 data blocks arranged in a two-dimensional array structure, and the width of each data block is preset as the unit width, and the height of each data block as the unit high. By initializing the width and height (i.e. width and height) of the configuration grid container (GridView), the screen display range of the grid container (GridView) can be limited, and the wid...

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 invention discloses a movement control method and system for a grid view widget. The movement control method for the grid view widget comprises the following steps: initializing the width and the height of a grid container and a data set, wherein a screen display range of the grid container is defined by the width and the height of the grid container, and the data set includes N*M data blocks which are arranged in a two-dimensional array structure; determining the number of sub-views displayed in the screen display range of the grid container and the positions of the sub-views according to the widths and the heights of the sub-views and the width and the height of the grid container; receiving a movement control command input by a user, and acquiring the position of a target sub-view in the grid container according to the movement control command; controlling the grid container to move or keep static relative to the grid container according to the position of the target sub-view and the position of the screen display range of the grid container, so that the target sub-view is positioned in the screen display range of the grid container. By adopting the movement control method and system for the grid view widget, the aim of moving the grid view widget in any direction can be fulfilled.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for controlling movement of a grid view control. Background technique [0002] In the Android system development process, a large number of sub-views (View) are displayed by using the grid view (GridView) control. The grid view (GridView) is a grid (Grid) display sub-view (View), that is, two-dimensional, Scrollable grids are widely used in Android system development. In the existing grid view (GridView) control, only two-way scrolling in a specific symmetrical direction can be realized, and the purpose of scrolling in any direction cannot be realized. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a movement control method and system for a grid view control in view of the problem that the existing grid view control can only scroll bidirectionally in a specific symmetrical direction. [0004] ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0485G06F3/0486
CPCG06F3/0485G06F3/0486
Inventor 何小磊
Owner TCL CORPORATION