Method and device for implementing picture folding interactive animation

An implementation method and animation technology, which is applied in the computer field, can solve problems such as shared element animation failure, and achieve a smooth sliding effect

Inactive Publication Date: 2017-05-31
TENCENT MUSIC & ENTERTAINMENT SHENZHEN CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor of the present invention found in the research process that in the prior art, ActivityOptionsCompat (transition animation compatibility, referring to a method in visual interaction design) is used to realize shared element animation, and CoordinatorLayout (coordinating layout, referring to a page layout view ) layout, AppBarLayout (application toolbar layout, referring to a vertical layout view) component and CollapsingToolbarLayout (collapsing toolbar layout, referring to a layout of a collapsible toolbar) component to realize the picture folding animation, wherein the prior art realizes picture The hierarchical nesting relationship of folding animation is as follows figure 1 As shown, the CoordinatorLayout layout is the root layout, the CoordinatorLayout layout nests the RecyclerView (circular view, referring to a sliding view) component and the AppBarLayout component, the AppBarLayout component nests the CollapsingToolbarLayout component, and the CollapsingToolbarLayout component nests the View (picture) component and Toolbar (Toolbar) component, if the image folding animation and shared element animation are combined, the content in the View component is a shared element, that is, the shared element is at the fourth level, and the level of the shared element on the Android 5.0 system exceeds three levels, which will cause The shared element animation fails, that is, the combination of the image folding animation and the shared element animation using the existing technology will cause the shared element animation to fail. In addition, the sliding effect of the sliding view is not smooth when the image folding animation is implemented using the CoordinatorLayout layout

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
  • Method and device for implementing picture folding interactive animation
  • Method and device for implementing picture folding interactive animation
  • Method and device for implementing picture folding interactive animation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] see first figure 2 , figure 2 It is a method for realizing interactive animation of picture folding in the embodiment of the present invention. The method of the embodiment of the present invention can be implemented on mobile phones, notebooks, IPADs, desktop computers and other devices that can display interactive animations, as shown in the figure. Include at least:

[0031] S101. Obtain a user's sliding operation on a sliding view ...

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 provides a method and a device for implementing a picture folding interactive animation. The method for implementing the picture folding interactive animation comprises the following steps: acquiring sliding operation, in allusion to a sliding view component, of a user on a shared interactive interface, wherein the shared interactive interface comprises the sliding view component, a shared element view component and a toolbar component; according to the sliding operation, moving the display area of the sliding view component in the shared interactive interface; monitoring movement of the display area of the sliding view component, and according to the movement of the display area of the sliding view component, zooming in or zooming out the display area of the shared element view component in the shared interactive interface; according to the display area of the shared element view component, adjusting the display effect of the toolbar component. According to the technical scheme provided by the invention, the normal display of a shared element animation can be ensured during combination with the shared element animation, so that the sliding effect of the sliding view is smoother.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for realizing picture folding interactive animation. Background technique [0002] In the Android (operating system) visual interaction style interface, there are two kinds of interactive animations that are favored by people. One of the interactive animations is shared element animation, that is, when two pages contain shared elements with the same visual When switching between two pages, there will be a transition animation in which the shared elements gradually change; another interactive animation is the picture folding animation, that is, when the list view is slid on a page with a toolbar, the pictures in the interface will follow. The slide of the list view collapses or expands, and the toolbar also appears or disappears with the slide of the list view. [0003] The inventor of the present invention found in the research process that in the p...

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 Applications(China)
IPC IPC(8): G06F3/0488G06F3/0484G06F3/0481
CPCG06F3/04883G06F3/0481G06F3/0484G06F2203/04806
Inventor 李伟
Owner TENCENT MUSIC & ENTERTAINMENT SHENZHEN CO 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